UNPKG

playwright-fluent

Version:
8 lines (7 loc) 484 B
import { HoverOptions } from '../hover-on-handle'; import { ElementHandle, Frame, Page } from 'playwright'; export interface SwitchToIframeOptions extends HoverOptions { injectCursor: boolean; } export declare const defaultSwitchToIframeOptions: SwitchToIframeOptions; export declare function switchFromHandleToIframe(selector: ElementHandle<Element> | undefined | null, name: string, pageOrFrame: Page | Frame | null | undefined, options: SwitchToIframeOptions): Promise<Frame>;