Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Puppeteer's page.authenticate() does not work for proxy authorization!
const puppeteer = require('puppeteer');
(async() => {
const proxyUrl = '';
const username = 'bob';
const password = 'password123';
const browser = await puppeteer.launch({
args: [`--proxy-server=${proxyUrl}`],
headless: false,
const page = await browser.newPage();
await page.authenticate({ username, password });
await page.goto('');
await browser.close();
Copy link

Not at all :) Apify runs primarily on EC2 and Actors run in Docker.

Thanks a lot for the info :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment