Frequently Asked Questions

Connection Refused

If you encounter a “connection refused” error when connecting to Scraping Browser, it may be due to the following reasons:

  1. API Key Issue: Ensure that you are using the correct API key.
  2. Network Issues: Check your internet connection and firewall settings.
  3. WebSocket Endpoint: Make sure you are connecting to the correct WebSocket URL (wss://browser.scrapeless.com/browser).

Timeout Error

If Puppeteer times out when loading a page, consider the following:

  1. Slow Website Speed: Increase Puppeteer’s timeout duration by passing the timeout option:
await page.goto('https://example.com', { timeout: 60000 }); // 60s

IP Blocked

Although Scraping Browser rotates IPs, some websites may block them. If this happens, try adjusting the region or country.