import { ElementHandle } from '../../types'; import type { Locator } from 'playwright'; /** * Playwright element handle implementation */ export declare class PlaywrightElementHandle implements ElementHandle { private locator; constructor(locator: Locator); /** * Click the element */ click(): Promise; /** * Type text into the element */ type(text: string): Promise; /** * Get element text content */ getText(): Promise; /** * Get element attribute value */ getAttribute(name: string): Promise; /** * Check if element is visible */ isVisible(): Promise; /** * Get element bounding box */ boundingBox(): Promise<{ x: number; y: number; width: number; height: number; } | null>; /** * Get the underlying Playwright locator */ getPlaywrightLocator(): Locator; /** * Check if element is enabled */ isEnabled(): Promise; /** * Check if element is checked (for checkboxes/radio buttons) */ isChecked(): Promise; /** * Get element inner HTML */ innerHTML(): Promise; /** * Get element value (for form inputs) */ getValue(): Promise; /** * Hover over the element */ hover(): Promise; /** * Focus the element */ focus(): Promise; /** * Select option(s) in a select element */ selectOption(values: string | string[]): Promise; /** * Scroll the element into view */ scroll(): Promise; }