Skip to content

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 install

To also use the ZenRows Browser SDK (optional, provides typed getConnectURL()):

bash
npm install @zenrows/browser-sdk playwright

Node.js + Puppeteer

bash
npm install puppeteer-core

To also use the ZenRows Browser SDK:

bash
npm install @zenrows/browser-sdk puppeteer-core

Python + Playwright

bash
pip install playwright
playwright install

Python + Pyppeteer

bash
pip install pyppeteer

No 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_KEY

Your 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_here

Then reference it in code as process.env.ZENROWS_API_KEY (Node.js) or os.environ["ZENROWS_API_KEY"] (Python).