circle-check
Documentation has been updated: see help center and changelog in one place.

Chrome

Unblocking Browser supports two specialized browser environments, one of which is Chrome. Learn more on how to start using it.

The Unblocking Browser Chrome environment provides high-performance remote browsers running on dedicated servers and using residential proxies for connection. These browser environments are fast, stable, and highly configurable. They can act as a drop-in replacement for your local browser infrastructure.

Key Features

  • Fast and stable performance

  • Any proxy country selection

  • Compatible with Chrome DevTools Protocol (CDP)

Connection Details

Connect to UBC using the following WebSocket endpoint:

wss://ubc.oxylabs.io

Basic Usage

from playwright.sync_api import sync_playwright

username = "your-username"
password = "your-password"
endpoint = "ubc.oxylabs.io"
browser_url = f"wss://{username}:{password}@{endpoint}"

with sync_playwright() as p:
    browser = p.chromium.connect_over_cdp(browser_url)
    page = browser.new_page()
    page.goto('https://example.com')
    browser.close()

United States Proxy Infrastructure

Users, who mainly operate in the US, can connect directly to US-based infrastructure via the special entry point. This ensures faster loading time and better browsing efficiency. To establish connection, enter the following:

Code examples:

circle-info

Note: this solution primarily shortens the response time for the US-based users, and should not be confused with proxy geo-location selection. More on that in the following section.

Browser Arguments

Unblocking Browser Chrome accepts additional browser arguments passed with connection URL in the format of ?bargs=. These GET parameters specify command-line arguments that browsers should be started with.

  1. If the argument should have value, we use bargs=argname:argvalue;

  2. If the argument is just a flag, we use bargs=flagname .

Currently, Oxylabs Unblocking Browser Chrome supports the following arguments:

Argument
Description

force-color-profile:<profile>

Force all monitors to be treated as though they have the specified color profile.

window-position:X,Y

Specifies the initial window position.

hide-scrollbars

Prevents creating scrollbars for web content – useful for taking consistent screenshots.

enable-features:<feature1>,<feature2>,<feature3>

Comma-separated list of feature names to enable.

disable-notifications

Disables the Web Notification and the Push APIs.

Usage example:

Device Type

You can customize how the browser emulates different device types by using the ?p_device parameter. This allows you to emulate fingerprints of the selected device types (desktop, mobile, tablet), which is particularly useful for scraping responsive layouts, mobile-specific content, or device-dependent behavior such as CAPTCHAs or UI elements.

Available ?p_device parameter values:

  • desktop (default) – Emulates a standard desktop browser with a full-size viewport and desktop user-agent string.

  • mobile – Simulates a smartphone experience with a smaller screen resolution, touch capabilities, and a mobile user-agent.

  • tablet – Emulates a tablet device, ideal for scraping medium-sized layouts and hybrid mobile/tablet interfaces.

For example:

Last updated

Was this helpful?