UNPKG

rebrowser-puppeteer-core

Version:

A drop-in replacement for puppeteer-core patched with rebrowser-patches. It allows to pass modern automation detection tests.

16 lines 607 B
/** * @license * Copyright 2020 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ import type { ConnectionTransport } from '../common/ConnectionTransport.js'; import type { ConnectOptions } from '../common/ConnectOptions.js'; import { CdpBrowser } from './Browser.js'; /** * Users should never call this directly; it's called when calling * `puppeteer.connect` with `protocol: 'cdp'`. * * @internal */ export declare function _connectToCdpBrowser(connectionTransport: ConnectionTransport, url: string, options: ConnectOptions): Promise<CdpBrowser>; //# sourceMappingURL=BrowserConnector.d.ts.map