Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not allow page.authenticate({}) #4

Open
adam-s opened this issue Oct 19, 2020 · 0 comments
Open

Does not allow page.authenticate({}) #4

adam-s opened this issue Oct 19, 2020 · 0 comments

Comments

@adam-s
Copy link

adam-s commented Oct 19, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant