headless-browser

Featured

Connects to Oxylabs remote headless browsers over the Chrome DevTools Protocol (CDP) with Playwright or Puppeteer. Built-in anti-detection, residential proxies, geo-targeting, persistent sessions and profiles, session recording and live VNC inspection for debugging. Use instead of WebFetch or a local browser whenever a site renders with JavaScript, blocks bots (DataDome, Cloudflare, Akamai), needs a real browser session, screenshots or PDFs. Covers connection, retries, error recovery and safe scraping of protected targets without any human help.

Web & Frontend 874 stars 2 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
98
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oxylabs Headless Browser Remote Chrome sessions with anti-detection, proxy rotation and geo-targeting built in. Nothing runs locally: you connect over a WebSocket, drive the browser with the CDP library you already use, and close the session when done. This file holds the rules; the detail lives next to it: `scripts/` (copyable templates), `parameters.md`, `errors.md`, `examples.md`, `targets.md`. ## 1. Connect | Item | Value | |------|-------| | Endpoint | `wss://USERNAME:PASSWORD@hb.oxylabs.io` | | Credentials | `OXY_UNBLOCKER_USERNAME` / `OXY_UNBLOCKER_PASSWORD` (aliases: `OXY_HB_USERNAME` / `OXY_HB_PASSWORD`) | | Options | URL query parameters only, e.g. `?p_cc=US&session_name=job-42` (see `parameters.md`) | | Libraries | Playwright `chromium.connectOverCDP` (recommended), Puppeteer `puppeteer.connect`, any CDP client | | Dashboard / support | `https://hb.oxylabs.io/dashboard` · `support@oxylabs.io` | Rules that prevent the most common `401`: - Use `wss://`. Plain `ws://` is accepted but sends your password unencrypted. - Build the URL by string concatenation with the **raw** password. Do not pass the finished URL through `new URL()` or `urllib.parse`: they percent-encode the password and authentication fails. - Use the full username exactly as shown in the dashboard, including any suffix such as `_ab12`. - A password containing `:` cannot be sent in the URL. Ask for a new password or send the `Authorization: Basic` header yourself (see `examples.md`). - Authen...

Details

Author
oxylabs
Repository
oxylabs/agent-skills
Created
7 months ago
Last Updated
2 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

web-unblocker

Bypasses anti-bot protections using Oxylabs Web Unblocker, an AI-powered proxy that handles fingerprinting, JavaScript rendering, and retries automatically. Use when the user needs to scrape protected websites, bypass CAPTCHAs, access blocked content, or when regular proxies fail due to anti-bot measures.

874 Updated 2 days ago
oxylabs
API & Backend Listed

cdp-graphql-scraper

Scrape data from sites you're authorized to access by attaching Playwright to your OWN already-logged-in Chrome over the DevTools protocol (CDP) and harvesting the JSON/GraphQL responses the page already fetches — instead of re-authenticating, driving login forms, or hammering endpoints directly. Use this whenever a task involves collecting structured data from a logged-in web app, building a resilient web scraper/collector, intercepting XHR/GraphQL/API responses, or when an existing scraper is getting rate-limited, soft-blocked, or returning empty results. Also reach for it for the operational side — running, resuming, or debugging a long crawl, or making one survive blocks and restarts. Covers the anti-block hygiene (human-paced delays, batch cooldowns, block-signal detection, resumable state) that naive scrapers miss.

0 Updated 2 months ago
brightstone111
AI & Automation Listed

playwright-human-mode

Visible, supervised, human-mode browser co-working. PRIMARY browser = Playwright MCP run VISIBLY on your local machine (vision, keyboard, mouse, click, screenshot) for real-time round-trip work you watch: program → drive the browser → check → iterate. Logs in with your credentials when it can; on CAPTCHA/2FA it pauses and hands the keyboard to you in the same window, then continues. Use whenever a browser is involved — testing, verifying a deploy, a login/auth flow, admin tasks, automating a site, inspecting a page, or when you mention Playwright, browser automation, 'open a browser', 'click', 'login', 'check the page', 'verify the UI', 'visual test', or similar.

1 Updated 1 months ago
LogicLabsAI