UNPKG

webdriver

Version:

A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol

17 lines 657 B
import { type Dispatcher } from 'undici'; import { WebDriverRequest } from './request.js'; import type { RequestOptions } from './types.js'; export declare const SESSION_DISPATCHERS: Map<string, Dispatcher>; /** * Node implementation of WebDriverRequest using undici fetch */ export declare class FetchRequest extends WebDriverRequest { fetch(url: URL, opts: RequestInit): Promise<Response>; private getDispatcher; private cleanupSessionDispatcher; createOptions(options: RequestOptions, sessionId?: string, isBrowser?: boolean): Promise<{ url: URL; requestOptions: RequestInit; }>; } //# sourceMappingURL=node.d.ts.map