Oxylabs Headless Browser
Connect Playwright or Puppeteer to Oxylabs' remote headless browsers over CDP for stealth automation, geo-targeted proxies and automatic CAPTCHA solving.
Web & APIIntermediate★ 454⑂ 1AI score 8/10Last updated: Aug 12, 2026
What it does
- Teaches Claude how to connect to Oxylabs remote headless browsers (Chrome, legacy Firefox) via the Chrome DevTools Protocol.
- Ships copy-paste connection snippets for Playwright (Python & JavaScript) and Puppeteer — no local browser install needed.
- Documents connection query parameters: country/city/US-state targeting (
p_cc,p_city,p_state), device fingerprint emulation (p_device), VNC session inspection (o_vnc) and Chromebargs. - Explains CAPTCHA handling: listening for
oxylabs-captcha-solve-*window messages and manually triggering hcaptcha/recaptcha/turnstile solving viawindow.postMessage. - States the constraints up front: 100 concurrent sessions, 10 launches/sec, and a decision table telling you to use Web Scraper API for simple HTML scraping.
Who it's for
- Data-collection and scraping engineers already on an Oxylabs plan.
- Developers who must render JavaScript-heavy or anti-bot protected pages.
- Teams running browser automation in CI where local browsers aren't practical.
Examples
- "Load this product page from a Texas IP and extract the price" → generates a wss URL with
?p_state=texasplus Playwright code. - "Screenshot and PDF this page as a mobile device" → adds
p_device=mobileand writes the capture script. - "Handle the Turnstile CAPTCHA that appears after login" → registers solve listeners before navigation, then posts the
solve_captchamessage.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/oxylabs/agent-skills/HEAD/skills/headless-browser/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/headless-browser folder from the GitHub repo oxylabs/agent-skills into my ~/.claude/skills/headless-browser/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/oxylabs/agent-skills.git /tmp/oxylabs-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/oxylabs-agent-skills/skills/headless-browser ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/oxylabs/agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r agent-skills/skills/headless-browser ~/.claude/skills/ - Export your Oxylabs credentials:
export OXY_UNBLOCKER_USERNAME=...andexport OXY_UNBLOCKER_PASSWORD=...(add them to your shell profile to persist). - Install a client library:
pip install playwrightornpm i playwright/npm i puppeteer. - Restart Claude Code and prompt something like "use the Oxylabs headless browser to render this page".
View source on GitHub ↗License: MIT