briqbriq
Dashboard

cookbook / chrome

Headless Chrome

A headless Chromium with a WebSocket endpoint for Playwright or Puppeteer.

Run it

briq_run({
  recipe: "chrome",
  params: {
    "size": "small"
  },
  wait: true
})

Parameters

NameTypeOptionsDefault
sizeenumsmall, medium, large"small"

Outputs

Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.

BROWSER_WS_ENDPOINT
ws://chrome.<stack>.internal:3000?token=<BROWSERLESS_TOKEN>
BROWSERLESS_URL
http://chrome.<stack>.internal:3000
BROWSERLESS_TOKEN
<BROWSERLESS_TOKEN>

What it runs

BriqImagePortsSizeVolume
chromeghcr.io/browserless/chromium:latest3000small

When to use it

  • Your tests or your agent need a real browser: Playwright, Puppeteer, PDF rendering, screenshots.
  • You do not want to install Chromium where the agent runs.

The briq runs Browserless Chromium and outputs a WebSocket endpoint with the generated token. Connect with chromium.connect(BROWSER_WS_ENDPOINT) in Playwright or puppeteer.connect({ browserWSEndpoint }).

Tips

  • It is CPU hungry. small handles a few pages; pick medium or large for parallel tests. CONCURRENT is set to 4.
  • Reach it from another briq in the stack, or from your agent's own machine after briq_expose on port 3000 with mode: "token". The endpoint's token query string is required either way.
  • Use the REST helpers. Browserless also serves /screenshot, /pdf and /content over HTTP on the same port.
  • A recipe, not a browser platform. briq does not do sessions, proxies or stealth; for that use a dedicated browser service.