Skip to content

Quickstart (Cloud)

Connect to rayobrowse Cloud early access. No Docker, no SDK required. Just an API key and any CDP client.

  • A rayobrowse Cloud API key. Contact [email protected] for early access.
  • Python 3.10+ or Node.js 18+

The cloud /connect endpoint is an HTTP GET that creates a browser and returns a direct CDP WebSocket URL as plain text. You then connect your CDP client to that URL.

  1. Request a browser and connect

    Make an HTTP GET to /connect with your API key, then pass the returned CDP URL to your automation tool:

    # pip install httpx playwright && playwright install
    import httpx
    from playwright.sync_api import sync_playwright
    resp = httpx.get(
    "https://cloud.rayobrowse.com/connect",
    params={"os": "windows", "headless": "false"},
    headers={"x-api-key": "YOUR_API_KEY"},
    timeout=120,
    )
    resp.raise_for_status()
    cdp_url = resp.text.strip()
    vnc_url = resp.headers.get("x-vnc-url")
    with sync_playwright() as p:
    browser = p.chromium.connect_over_cdp(cdp_url)
    context = browser.contexts[0] if browser.contexts else browser.new_context()
    page = context.pages[0] if context.pages else context.new_page()
    page.goto("https://example.com")
    print(page.title())
    if vnc_url:
    print(f"To view your browser in VNC go to: {vnc_url}")
    browser.close()

    The response also includes x-session-id and x-vnc-url headers for session management and live viewing.

  2. Add a proxy or change fingerprint (optional)

    Append parameters to the /connect URL:

    https://cloud.rayobrowse.com/connect?os=windows&proxy=http://user:pass@host:port&headless=true

The rayobrowse SDK wraps the /connect HTTP call for you and adds session management, VNC URLs, and lifecycle control. Install it only if you need those features.

  1. Install the SDK

    Terminal window
    pip install rayobrowse playwright && playwright install
  2. Connect and automate

    from rayobrowse import Rayobrowse
    from playwright.sync_api import sync_playwright
    client = Rayobrowse(
    endpoint="https://cloud.rayobrowse.com",
    api_key="YOUR_API_KEY",
    )
    ws_url = client.connect_url(os="windows")
    with sync_playwright() as p:
    browser = p.chromium.connect_over_cdp(ws_url)
    page = browser.new_page()
    page.goto("https://example.com")
    print(page.title())
    browser.close()
    client.close()
  3. View with VNC (optional)

    Pass vnc=True (Python) or vnc: true (Node) to connect_url() to get a live browser view:

    ws_url = client.connect_url(os="windows", vnc=True)
    print(f"Watch live: {client.last_vnc_url}")
LocalCloud
InfrastructureYou run Docker on your own machineManaged by rayobrowse
ScalingLimited by your hardwareScales automatically
AuthenticationNo key requiredAPI key required
ConnectionGET http://localhost:9222/connect?... returns a CDP URLGET https://cloud.rayobrowse.com/connect?... returns a CDP URL
Usage modelFree and unlimited self-hosted useEarly access managed service