fabianF
Apify & Crawleeโ€ข3y ago
fabian

How to pass Apify proxy as argument to puppeteer.launch()?

Is there a simple to get new Apify proxy data to pass as argument to puppeteer.launch()?
// Launch Puppeteer with proxy configuration
const browser = await puppeteer.launch({
headless: true,
args: [
--proxy-server=${proxyServer}
]
});


I would like to create launch puppeteer instance with new proxy setting, when the website start blocking the IP.
Datacenter proxy are good enough for my use case.
Was this page helpful?