For AI agents: a documentation index is available at /llms.txt
Skip to main content

/chromium/bql?(/*)

GET 

/chromium/bql?(/*)

WebSocket endpoint for BrowserQL. Connect to establish a persistent browser session, then send multiple GraphQL operations as JSON messages. The browser and page state persist across all messages for the connection duration.

Each incoming message is limited to MAX_PAYLOAD_SIZE (10 MiB by default). Oversized messages close the connection with code 1009. Omit variables when empty or send a JSON object; arrays and strings are not variable maps.

Messages use the same JSON format as the HTTP POST endpoint: Send: { "query": "mutation { goto(url: "..") { status } }", "variables": {} } Receive: { "data": { "goto": { "status": 200 } } }

Request​

Query Parameters

    acceptInsecureCerts boolean
    allowedDomains string[]
    blockAds boolean
    blockAdsInclude string
    blockConsentModals boolean
    caCertificates string
    credentials object
    deviceScaleFactor number
    deviceSlot number
    deviceType string

    Possible values: [phone, tablet]

    emulatedDevice string
    emulationOs Platform

    Possible values: [android, ios, linux, macos, windows]

    externalProxyServer string
    humanlike boolean
    integrationId string
    launch object
    profile string
    proxy ProxyType

    Possible values: [datacenter, residential]

    proxyCity string
    proxyCountry string
    proxyLocaleMatch string

    Possible values: [0, 1, false, true]

    proxyPreset string
    proxyState string
    proxySticky string

    Possible values: [0, 1, false, true]

    replay boolean
    screen string
    timeout number
    token string
    trackingId string

Responses​

Indicates successful WebSocket upgrade.

Was this page helpful?