UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

18 lines 624 B
import { FocusedPage } from '../models/FocusedPage'; import { NamedBindingCallback } from './NamedBindingCallback'; import { BrowserContext, Page, Frame } from 'playwright'; /** * A binding that brings the page executing this callback into focus. */ export declare class FocusPage implements NamedBindingCallback { private readonly focusedPage; static readonly NAME = "donobuFocusPage"; constructor(focusedPage: FocusedPage); name(): string; call(source: { context: BrowserContext; page: Page; frame: Frame; }, ...args: any[]): any; } //# sourceMappingURL=FocusPage.d.ts.map