Sets a consistent viewport for each page. Defaults to an 800x600 viewport. null disables the default viewport.
Whether to auto-open a DevTools panel for each tab. If this option is true, the headless option will be set false.
Whether to pipe browser process stdout and stderr into process.stdout and process.stderr.
Specify environment variables that will be visible to Chromium.
Path to a Chromium executable to run instead of bundled Chromium. If executablePath is a relative path, then it is resolved relative to current working directory.
Close chrome process on SIGHUP.
Close chrome process on Ctrl-C.
Close chrome process on SIGTERM.
Whether to run browser in headless mode.
Do not use puppeteer.defaultArgs()
for launching Chromium.
Whether to ignore HTTPS errors during navigation.
Connects to the browser over a pipe instead of a WebSocket.
Which browser to launch.
At this time, this is either chrome
or firefox
. See also PUPPETEER_PRODUCT
.
Slows down Puppeteer operations by the specified amount of milliseconds. Useful so that you can see what is going on.
Maximum navigation time in milliseconds, pass 0 to disable timeout.
Path to a User Data Directory.
Generated using TypeDoc
Additional arguments to pass to the browser instance. The list of Chromium flags can be found here.