puppeteer-core

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

doc

node utils/doclint/cli.js

tsc

tsc -p .

lint

([ "$CI" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run tsc && npm run doc

test

npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-types && node utils/testrunner/test/test.js

unit

node test/test.js

funit

PUPPETEER_PRODUCT=firefox node test/test.js

bundle

npx browserify -r ./index.js:puppeteer -o utils/browser/puppeteer-web.js

fjunit

PUPPETEER_PRODUCT=juggler node test/test.js

coverage

cross-env COVERAGE=true npm run unit

debug-unit

node --inspect-brk test/test.js

test-types

node utils/doclint/generate_types && npx -p [email protected] tsc -p utils/doclint/generate_types/test/

unit-bundle

node utils/browser/test.js

test-doclint

node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js

apply-next-version

node utils/apply_next_version.js

Metadata

  • Apache-2.0
  • >=8.16.0
  • The Chromium Authors
  • released 2/5/2020

Downloads