< Back

How to connect to Goproxies proxy via Puppeteer?

Puppeteer is a popular tool for web scraping and parsing.

Below you can find an example of the set-up process

  • In Puppeteer, under the ‘proxy-server’, update the proxy server IP and port number (i.e. https://proxy-america.goproxies.com:10001).
  • Replace the 'USERNAME' and 'PASSWORD' with your credentials

Here's how a full example of a code should look like:


const puppeteer = require('puppeteer');
(async () => {
  const browser = await puppeteer.launch({
    headless: false,
    args: ['--proxy-server=https://proxy-america.goproxies.com:10001']  
});
  const page = await browser.newPage();
    await page.authenticate({
        username: 'USERNAME',
        password: 'PASSWORD'
    });
    await page.goto('https://ip.goproxies.com');
})();


And that's it! You've successfully integrated GoProxies on Puppeteer.

By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.