Skip to main content

Connect via CDP URL

Connect to any remote browser using Chrome DevTools Protocol (CDP). Remote launch settings such as headless, proxy.server, and proxy.bypass do not affect an already-running remote browser.

Start Chrome with Remote Debugging

To enable CDP on a local or remote Chrome instance:

Third-Party Cloud Browsers

You can use any cloud browser service that provides a CDP URL:
  • Browserless - cdp_url="wss://chrome.browserless.io?token=YOUR_TOKEN"
  • BrowserStack - Connect via their CDP endpoint
  • LambdaTest - Connect via their CDP endpoint
  • Any Docker-based Chrome - Run headless Chrome in a container

Proxy Connection

The remote Chrome instance must be started with the proxy server. proxy.server and proxy.bypass are local launch settings and do not affect an already-running remote browser. Only the username and password are used for CDP proxy-auth challenges.

Docker Setup

Run Chrome in a Docker container:
Then connect: