Getting a CDP WebSocket URL

You can get a CDP WebSocket URL from various sources, for example:

  • BrowserBase: Sign up at https://browserbase.com and get your CDP URL
  • Browserless: Use https://browserless.io or run your own instance
  • Local Chrome: Run Chrome with --remote-debugging-port=9222 and use ws://localhost:9222/devtools/browser/...
  • Docker: Run Chrome in a Docker container with debugging port exposed