Use proxies with Puppeteer

Learn how to set up residential and mobile proxies for test automation with Puppeteer.

Notice: Puppeteer works only with residential proxies!
  1. When you set up Puppeteer, fill in value
  2. Under ‘page.authenticate’ input your Froxy proxy login in the ‘username’ value and your password. You can find this information in your Froxy Dashboard
  3. Finally, example of your code should look like this
     const puppeteer = require('puppeteer');
    (async () => {
    const browser = await puppeteer.launch({
    headless: false,
    args: [''] });
    const page = await browser.newPage();
    await page.authenticate({
    username: 'LOGIN',
    password: 'PASSWORD'
    await page.goto('');
  4. You succesfully integrated Froxy with Puppeteer!