Skip to content

Install

Oxylabs Headless Browser is a remote service, not a local binary. There is nothing to download or install beyond the client library you already use for browser automation.

Prerequisites

  • An active Oxylabs account with Headless Browser enabled
  • Your Oxylabs username and password (from the dashboard at https://dashboard.oxylabs.io)

Python (Playwright)

Install the Playwright Python library:

bash
pip install playwright

Install the Playwright browser binaries (only needed for local fallback; the remote connection does not use local binaries):

bash
playwright install chromium

Node.js (Puppeteer)

bash
npm install puppeteer

Or with pnpm:

bash
pnpm add puppeteer

Node.js (Playwright)

bash
npm install playwright

Or with pnpm:

bash
pnpm add playwright

Connection endpoints

Once your client library is installed, connect to the Oxylabs cloud browser using a WebSocket URL. No additional SDK is required.

BrowserRegionEndpoint
ChromiumGlobalwss://ubc.oxylabs.io
ChromiumUSwss://ubc-us.oxylabs.io
FirefoxGlobalwss://ubs.oxylabs.io
FirefoxUSwss://ubs-us.oxylabs.io

Credentials are embedded in the WebSocket URL: wss://USERNAME:PASSWORD@ubc.oxylabs.io