Skip to Content
Qube

Browser automation

For tasks that need a real website — checking opening hours, comparing products, filling a form, tracking a parcel — Qube drives its own browser and shows it to you in the Browser panel beside the chat. You watch…

For tasks that need a real website — checking opening hours, comparing products, filling a form, tracking a parcel — Qube drives its own browser and shows it to you in the Browser panel beside the chat. You watch every page it visits and can take control whenever a human is needed.

Requirements

Qube does not download a browser. It launches a Chromium-based browser already on your system, in this order of preference:

  1. A path set with the CHROME_PATH environment variable (advanced).
  2. The standard install locations for your system:
    • Windows: Google Chrome, then Microsoft Edge (present on a standard Windows install).
    • macOS: Google Chrome in /Applications.
    • Linux: google-chrome, google-chrome-stable, chromium, chromium-browser, /opt/google/chrome/chrome and Snap Chromium.
  3. A Playwright-bundled Chromium, if one exists in its cache (also honoring PLAYWRIGHT_BROWSERS_PATH).

If none is available, browser tasks fail with a clear message. Install Google Chrome (or Chromium on Linux) and try again.

What the browser looks like

The browser runs headless by default — there is no separate browser window; the side panel is the browser window, streamed live over the Chrome DevTools Protocol. Qube uses its own browser profile (.browser-profile in the data directory), not your everyday Chrome profile. Tabs and their cookies persist between tasks, so Qube can pick up where it left off and stays signed in to sites you have logged into in the panel.

You can also click, scroll and type directly in the panel; input is forwarded to the same browser Qube is driving.

How Qube works a page

Qube prefers structured page tools over blind clicking:

  1. Navigate to a URL.
  2. Snapshot the page to get its text and numbered interactive elements (e1, e2, …), with passwords masked.
  3. Act on those refs — click, fill, type.
  4. If a page is canvas-based, refs are stale, or an element is missing, it falls back to screenshot plus coordinate actions in the same window.
  5. It re-checks the page after navigation or a failed action instead of replaying uncertain clicks.

For known destinations it navigates directly (for example a site's search URL) rather than typing into search boxes.

When you need to take over

Qube handles public pages on its own, including CAPTCHAs, bot checks, and payment steps. When it hits a login or two-factor prompt that only you can complete, it pauses with a takeover request explaining why. You then:

  1. Click into the Browser panel.
  2. Complete the login, 2FA, or other protected step yourself.
  3. Confirm in Qube, and the task continues.

The takeover lease lasts fifteen minutes, which is enough for awkward logins. Qube never asks you for passwords in the chat, and it does not store them — the browser's own profile holds the session, just like a normal browser.

It completes an order or payment when you asked for it; it does not stop at the final step by default.

Important: actions inside the browser panel (clicking, typing, submitting forms, checking out) are not routed through Qube's approval cards or the Destructive actions switch. Qube follows what you asked for, so be specific about purchases and submissions, and watch the panel for anything sensitive.

What the browser cannot do

  • It cannot see or control other desktop applications. That is a separate, optional capability — see Computer use.
  • It does not open untrusted links from emails inside this signed-in browser; those are read as plain text instead. See Web research.
  • It attempts bot checks and CAPTCHAs itself, and asks for takeover only when the challenge needs input it cannot supply.

Advanced options

These environment variables matter mainly when running from source; installed desktop users rarely need them:

VariableEffect
BROWSER_HEADED=1 (or BROWSER_HEADLESS=0)Show a real operating-system browser window alongside the panel
CHROME_PATHAbsolute path to the Chrome/Chromium/Edge binary to launch
BROWSER_CDP_PORTCDP port (default 9222)
BROWSER_MCP_DISABLED=1Turn off the built-in browser automation service
BROWSER_MCP_COMMAND / BROWSER_MCP_ARGS_JSONReplace the built-in browser service with a custom command

If browser tools report “connection closed” or fail to start, see Troubleshooting.

Edit on GitHub

On this page