Skip to content

Scraping Browser Usage Examples

Connect to Evomi Scraping Browser using the Chrome DevTools Protocol (CDP) WebSocket. Use your preferred framework and language; examples below show idiomatic setups.

CDP URL format:

wss://browser.evomi.com?key=YOUR_API_KEY&os=windows&proxy_country=US&adblock=true

Optional: os, proxy_country, adblock=true. Disable Turnstile solving with solve_cloudflare=false.

const puppeteer = require('puppeteer');

(async () => {
  const cdpUrl = 'wss://browser.evomi.com?key=YOUR_API_KEY&os=windows&proxy_country=US&adblock=true';
  const browser = await puppeteer.connect({ browserWSEndpoint: cdpUrl, defaultViewport: null });
  const page = await browser.newPage();
  await page.goto('https://check.evomi.com', { waitUntil: 'networkidle2' });
  console.log(await page.title());
  await browser.close();
})();

Tips for scale Permalink to Tips for scale

  • Reuse a single session to perform multiple tasks sequentially when possible.
  • Use proxy_country to route traffic geographically without code changes.