Configuration interface
Defines options to configure Puppeteer's behavior during installation and runtime.
See individual properties for more information.
Signature
export interface Configuration
Properties
|
Property |
Modifiers |
Type |
Description |
Default |
|---|---|---|---|---|
|
"chrome-headless-shell" |
| |||
|
cacheDirectory |
|
string |
Defines the directory to be used by Puppeteer for caching. Can be overridden by |
|
|
chrome |
| |||
|
defaultBrowser |
|
Specifies which browser you'd like Puppeteer to use. Can be overridden by |
| |
|
executablePath |
|
string |
Specifies an executable path to be used in puppeteer.launch. Can be overridden by |
Auto-computed. |
|
experiments |
|
Defines experimental options for Puppeteer. | ||
|
firefox |
| |||
|
logLevel |
|
'silent' | 'error' | 'warn' |
Tells Puppeteer to log at the given level. |
|
|
skipDownload |
|
boolean |
Tells Puppeteer to not download any of the browsers during installation. Can be overridden by | |
|
temporaryDirectory |
|
string |
Defines the directory to be used by Puppeteer for creating temporary files. Can be overridden by |
|