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:
- API Key Issue: Ensure that you are using the correct API key.
- Network Issues: Check your internet connection and firewall settings.
- 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:
- 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.