UNPKG

puppeteer-core

Version:

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

45 lines (36 loc) 690 B
/** * @license * Copyright 2017 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ // Set up Node-specific environment dependencies before importing other modules. import './node-env-setup.js'; export * from './index.js'; import {environment} from './environment.js'; import * as Puppeteer from './index.js'; environment.value.ScreenRecorder = Puppeteer.ScreenRecorder; /** * @public */ const puppeteer = new Puppeteer.PuppeteerNode({ isPuppeteerCore: true, }); export const { /** * @public */ connect, /** * @public */ defaultArgs, /** * @public */ executablePath, /** * @public */ launch, } = puppeteer; export default puppeteer;