puppeteer
Version:
A high-level API to control headless Chrome over the DevTools Protocol
80 lines (71 loc) • 1.25 kB
TypeScript
/**
* @license
* Copyright 2026 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import type {Browser} from 'puppeteer-core';
import type {ChromeReleaseChannel} from 'puppeteer-core';
import type {ConnectOptions} from 'puppeteer-core';
import type {LaunchOptions} from 'puppeteer-core';
import type {PuppeteerNode} from 'puppeteer-core';
/**
* @public
*/
export declare const /**
* @public
*/
/**
* @public
*/
connect: (options: ConnectOptions) => Promise<Browser>;
/**
* @public
*/
export declare const /**
* @public
*/
/**
* @public
*/
defaultArgs: (options?: LaunchOptions) => string[];
/**
* @public
*/
export declare const /**
* @public
*/
/**
* @public
*/
executablePath: {
(channel: ChromeReleaseChannel): string;
(options: LaunchOptions): string;
(): string;
};
/**
* @public
*/
export declare const /**
* @public
*/
/**
* @public
*/
launch: (options?: LaunchOptions) => Promise<Browser>;
/**
* @public
*/
declare const puppeteer: PuppeteerNode;
export default puppeteer;
/**
* @public
*/
export declare const /**
* @public
*/
/**
* @public
*/
trimCache: () => Promise<void>;
export * from 'puppeteer-core';
export {};