Stagehand, engine, and WebGL

These three create fields change how the browser runs: which engine, which extension, and how WebGL is drawn.

In the dashboard, Browser Chrome maps to API engine: "chromium". Stagehand extension maps to extensions. WebGL is API-only as webgl.

Engine

SessionRequest.engine pattern: chromium or firefox. Default: chromium.

ValueMeaning from OpenAPI
chromiumCDP endpoint on connect_url.
firefoxPlaywright server, not CDP. OpenAPI info: use a Playwright 1.60 client. Takes two plan slots (PlanBlock.max_sessions description).
{
  "engine": "chromium",
  "country": "us"
}

On the response, SessionRecord.engine repeats chromium or firefox.

Stagehand (extensions)

SessionRequest.extensions is a string array or null. OpenAPI description: extensions to load, by name: stagehand.

request.sh
curl -X POST "https://interact.geonode.io/v1/sessions?wait=true" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "engine": "chromium",
    "country": "us",
    "extensions": ["stagehand"]
  }'

On SessionRecord, extensions is an object: name to id. OpenAPI: the id comes from the image, so stagehand has the same id in every session.

response.json
{
  "engine": "chromium",
  "extensions": {
    "stagehand": "<extension-id>"
  }
}

WebGL

SessionRequest.webgl pattern: swiftshader or mesa, or null. Chromium only.

ValueMeaning
swiftshaderGoogle SwiftShader
mesaMesa llvmpipe
OmittedService default

OpenAPI: anti-bot checks differ; some block one renderer, some the other.

{
  "engine": "chromium",
  "webgl": "swiftshader"
}

On the response, SessionRecord.webgl is swiftshader or mesa (Mesa llvmpipe). Empty for Firefox, which reports a renderer of its own.

Plan engines

PlanBlock.engines lists engines the plan offers. A create with an engine outside the plan can refuse with plan_engine.

Next

Was this page helpful?

On this page