UNPKG

puppeteer-core

Version:

A high-level API to control headless Chrome over the DevTools Protocol

20 lines 660 B
/** * @license * Copyright 2023 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ import type { Browser } from '../api/Browser.js'; import type { ConnectOptions } from './ConnectOptions.js'; /** * Users should never call this directly; it's called when calling * `puppeteer.connect`. This method attaches Puppeteer to an existing browser instance. * * @internal */ export declare function assertSupportedUrlRestrictions(options: { allowlist?: string[]; blocklist?: string[]; protocol?: string; }): void; export declare function _connectToBrowser(options: ConnectOptions): Promise<Browser>; //# sourceMappingURL=BrowserConnector.d.ts.map