Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm

puppeteer 22.0.0

A high-level API to control headless Chrome over the DevTools Protocol
Package summary
Share
1
issue
1
high severity
meta
1
7
licenses
87
MIT
9
ISC
6
Apache-2.0
12
other licenses
BSD-2-Clause
6
BSD-3-Clause
4
Python-2.0
1
0BSD
1
Package created
23 Mar 2013
Version published
5 Feb 2024
Maintainers
2
Total deps
114
Direct deps
3
License
Apache-2.0

Issues

1

1 high severity issue

high
via: puppeteer@22.0.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
87 Packages, Including:
@babel/code-frame@7.24.2
@babel/helper-validator-identifier@7.24.5
@babel/highlight@7.24.5
@tootallnate/quickjs-emscripten@0.23.0
@types/node@20.12.11
@types/yauzl@2.10.3
agent-base@7.1.1
ansi-regex@5.0.1
ansi-styles@3.2.1
ansi-styles@4.3.0
ast-types@0.13.4
base64-js@1.5.1
basic-ftp@5.0.5
buffer-crc32@0.2.13
buffer@5.7.1
callsites@3.1.0
chalk@2.4.2
color-convert@1.9.3
color-convert@2.0.1
color-name@1.1.3
color-name@1.1.4
cosmiconfig@9.0.0
cross-fetch@4.0.0
data-uri-to-buffer@6.0.2
debug@4.3.4
degenerator@5.0.1
emoji-regex@8.0.0
end-of-stream@1.4.4
env-paths@2.2.1
error-ex@1.3.2
escalade@3.1.2
escape-string-regexp@1.0.5
fast-fifo@1.3.2
fd-slicer@1.1.0
fs-extra@11.2.0
get-stream@5.2.0
get-uri@6.0.3
has-flag@3.0.0
http-proxy-agent@7.0.2
https-proxy-agent@7.0.4
import-fresh@3.3.0
ip-address@9.0.5
is-arrayish@0.2.1
is-fullwidth-code-point@3.0.0
js-tokens@4.0.0
js-yaml@4.1.0
jsbn@1.1.0
json-parse-even-better-errors@2.3.1
jsonfile@6.1.0
lines-and-columns@1.2.4

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
9 Packages, Including:
cliui@8.0.1
get-caller-file@2.0.5
graceful-fs@4.2.11
lru-cache@7.18.3
once@1.4.0
picocolors@1.0.0
wrappy@1.0.2
y18n@5.0.8
yargs-parser@21.1.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
6 Packages, Including:
@puppeteer/browsers@2.0.0
b4a@1.6.6
bare-events@2.2.2
chromium-bidi@0.5.8
puppeteer-core@22.0.0
puppeteer@22.0.0

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
6 Packages, Including:
escodegen@2.1.0
esprima@4.0.1
estraverse@5.3.0
esutils@2.0.3
extract-zip@2.0.1
webidl-conversions@3.0.1

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
devtools-protocol@0.0.1232444
ieee754@1.2.1
source-map@0.6.1
sprintf-js@1.1.3

Python License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
state-changes
1 Packages, Including:
argparse@2.0.1

BSD Zero Clause License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
include-copyright
include-license
include-original
Cannot
hold-liable
Must
1 Packages, Including:
tslib@2.6.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of puppeteer 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@puppeteer/browsers2.0.059.09 kBApache-2.0
prod
cosmiconfig9.0.028.97 kBMIT
prod
puppeteer-core22.0.0893.48 kBApache-2.0
prod

Visualizations

Frequently Asked Questions

What does puppeteer do?

Puppeteer is a Node.js library that equips software developers with a high-level API for controlling Chrome or Chromium browsers over the DevTools Protocol. The library enables a vast array of browser automation tasks, from generating screenshots and PDFs of pages, to rendering Single-page Applications (SPAs), form submission automation, UI testing, keyboard input automation, performance testing, and even testing Chrome Extensions. One of its primary attractions is that Puppeteer operates in headless mode by default, but it can also be configured to run in a fully visible, or "headful", Chrome/Chromium mode.

How do you use puppeteer?

Using Puppeteer requires Node.js, and the library is installed via NPM or Yarn. Here is a basic example of how you can use Puppeteer for browser automation:

npm i puppeteer

Or with Yarn:

yarn add puppeteer

After Puppeteer is installed, here is a simple usage example where Puppeteer loads a webpage and takes a screenshot:

const puppeteer = require('puppeteer');

(async () => {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    await page.goto('https://example.com');
    await page.screenshot({ path: 'example.png' });
    await browser.close();
})();

This block of code tells Puppeteer to launch a browser, navigate to 'https://example.com', take a screenshot, save it as 'example.png', and finally close the browser.

To customize Puppeteer's default behaviors such as cache directory or execution mode, configurations can be made when launching the browser. For more advanced use cases, check out the guides provided by Puppeteer.

Where are the puppeteer docs?

Puppeteer's official documentation, as well as guides on how to use the library, frequently asked questions, and details on how to contribute, can be found on their website: Puppeteer API Docs, Guides, FAQ, and Contributing. It's a go-to resource for any developer seeking to extend their knowledge of Puppeteer and browser automation. Documentation of the latest version can also be found on the GitHub repo: git+https://github.com/puppeteer/puppeteer.git#main.