puppeteer-interceptor icon indicating copy to clipboard operation
puppeteer-interceptor copied to clipboard

Does not allow page.authenticate({})

Open adam-s opened this issue 4 years ago • 0 comments

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.

adam-s avatar Oct 19 '20 16:10 adam-s