LaunchPuppeteerOptions
Apify extends the launch options of Puppeteer. You can use any of the
puppeteer.launch()
options in the
Apify.launchPuppeteer()
function and in addition, all the options available below.
Properties
Param | Type | Default |
---|---|---|
... | ||
You can use any of the
| ||
[proxyUrl] | String | |
URL to a HTTP proxy server. It must define the port number, and it may also contain proxy username and password. Example: | ||
[userAgent] | String | |
The | ||
[useChrome] | Boolean | false |
If | ||
[useApifyProxy] | Boolean | false |
If set to | ||
[apifyProxyGroups] | Array | |
An array of proxy groups to be used
by the Apify Proxy.
Only applied if the | ||
[apifyProxySession] | String | |
Apify Proxy session identifier to be used by all the Chrome browsers.
All HTTP requests going through the proxy with the same session identifier
will use the same target proxy server (i.e. the same IP address).
The identifier can only contain the following characters: | ||
[puppeteerModule] | string | Object | |
Either a require path ( Take caution, because it can cause all kinds of unexpected errors and weird behavior.
Apify SDK is not tested with any other library besides | ||
[stealth] | boolean | |
This setting hides most of the known properties that identify headless Chrome and makes it nearly undetectable.
It is recommended to use it together with the | ||
[stealthOptions] | StealthOptions | |
Using this configuration, you can disable some of the hiding tricks.
For these settings to take effect |