thomasdondorf / puppeteer-cluster

Puppeteer Pool, run a cluster of instances in parallel
MIT License
3.2k stars 307 forks source link

How to set args like .launch({ args: [] }) ? #530

Open damartripamungkas opened 10 months ago

damartripamungkas commented 10 months ago

How to set args like .launch({ args: [] }) ? i dont see if this package support that

Firefox2005 commented 9 months ago

this.cluster = await Cluster.launch({ puppeteerOptions: { args: [] } });

damartripamungkas commented 9 months ago

this.cluster = await Cluster.launch({ puppeteerOptions: { args: [] } });

ok thanks i will try

Harm-Nullix commented 8 months ago

It clearly states it in https://github.com/thomasdondorf/puppeteer-cluster#clusterlaunchoptions You can just look at the puppeteerOptions value that states it is the puppeteer.launch arg