puppeteer-interceptor
puppeteer-interceptor copied to clipboard
Does not allow page.authenticate({})
Does not allow proxies with authentication to be authenticated.
const proxyUser = `o`;
const proxyPass = 'f';
const options = {
headless: false,
// devtools: true,
args: [
'--no-sandbox',
`--proxy-server=proxy:22225`,
],
};
let browser = await puppeteer.launch(options);
const page = await browser.newPage();
await page.authenticate({ username: proxyUser, password: proxyPass });
await page.goto('chrome://about')
Rather than authenticate the page it will ask for authentication.