Home / Integrations

Proxies in Puppeteer

Replace LOGIN and PASSWORD with the values from your dashboard.

Example

import puppeteer from "puppeteer";

const browser = await puppeteer.launch({ args: ["--proxy-server=http://gate.lyraproxy.com:7000"] });
const page = await browser.newPage();
await page.authenticate({ username: "LOGIN", password: "PASSWORD" });
await page.goto("https://example.com/");
console.log(await page.title());
await browser.close();

Chromium does not accept a login and password in the --proxy-server flag, so they are passed through page.authenticate before the first navigation.

Other integrations

Proxies are ready right after payment

Pick a plan and volume in the dashboard. You can change the country, city and session type after purchase as often as you like.

Create an account