playwright-fluent
Version:
Fluent API around playwright
4 lines (3 loc) • 311 B
TypeScript
import { Frame, Page } from 'playwright';
import { SwitchToIframeOptions } from '../../handle-actions';
export declare function switchFromSelectorToIframe(selector: string, pageProviderOrPageInstance: (() => Page | Frame | undefined) | Page | Frame | undefined, options: SwitchToIframeOptions): Promise<Frame>;