/// /// /// import type { Browser } from 'puppeteer-core/lib/cjs/puppeteer/common/Browser'; import type { Dialog } from 'puppeteer-core/lib/cjs/puppeteer/common/Dialog'; import type { Page } from 'puppeteer-core/lib/cjs/puppeteer/common/Page'; import type WDIOProtocols from '@wdio/protocols'; import ElementStore from './elementstore'; export default class DevToolsDriver { commands: Record; elementStore: ElementStore; windows: Map; timeouts: Map; activeDialog?: Dialog; browser: Browser; currentFrame?: Page; currentWindowHandle?: string; currentFrameUrl?: string; constructor(browser: Browser, pages: Page[]); static requireCommand(filePath: string): any; register(commandInfo: WDIOProtocols.CommandEndpoint): (this: WebdriverIO.BrowserObject, ...args: any[]) => Promise; dialogHandler(dialog: Dialog): void; framenavigatedHandler(frame: Page): void; setTimeouts(implicit?: number, pageLoad?: number, script?: number): void; getPageHandle(isInFrame?: boolean): Page; checkPendingNavigations(pendingNavigationStart?: number): Promise; } //# sourceMappingURL=devtoolsdriver.d.ts.map