puppeteer
Version:
A high-level API to control headless Chrome over the DevTools Protocol
49 lines (40 loc) • 742 B
text/typescript
/**
* @license
* Copyright 2017 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
export type {Protocol} from 'puppeteer-core';
export * from 'puppeteer-core/internal/puppeteer-core.js';
import * as PuppeteerCore from 'puppeteer-core/internal/puppeteer-core.js';
import {getConfiguration} from './getConfiguration.js';
const configuration = getConfiguration();
/**
* @public
*/
const puppeteer = new PuppeteerCore.PuppeteerNode({
isPuppeteerCore: false,
configuration,
});
export const {
/**
* @public
*/
connect,
/**
* @public
*/
defaultArgs,
/**
* @public
*/
executablePath,
/**
* @public
*/
launch,
/**
* @public
*/
trimCache,
} = puppeteer;
export default puppeteer;