Appearance
Install
ZenRows Scraping Browser requires no SDK installation to use its core WebSocket endpoint. You connect with the Playwright or Puppeteer library you already have. An optional ZenRows Browser SDK exists for typed URL generation.
Node.js + Playwright
bash
npm install playwright
npx playwright installTo also use the ZenRows Browser SDK (optional, provides typed getConnectURL()):
bash
npm install @zenrows/browser-sdk playwrightNode.js + Puppeteer
bash
npm install puppeteer-coreTo also use the ZenRows Browser SDK:
bash
npm install @zenrows/browser-sdk puppeteer-corePython + Playwright
bash
pip install playwright
playwright installPython + Pyppeteer
bash
pip install pyppeteerNo ZenRows-specific install required
There is no npm install zenrows or equivalent required to use the scraping browser. The connection is a WebSocket URL:
wss://browser.zenrows.com?apikey=YOUR_ZENROWS_API_KEYYour API key is available in the ZenRows dashboard after signing up for a paid plan.
Environment variable pattern
Store your key in an environment variable and never hardcode it:
bash
export ZENROWS_API_KEY=your_actual_api_key_hereThen reference it in code as process.env.ZENROWS_API_KEY (Node.js) or os.environ["ZENROWS_API_KEY"] (Python).