Skip to main content

Overview

The Interact surface drives a real Chromium browser. You provide a starting URL and a sequence of actions; the API executes them in order and returns the page state after the last action.

Basic example: fill and submit a form

Action types

Taking a screenshot

Include "screenshot" in output to capture the page after the last action:
The response includes outputs.screenshot.url — a signed URL valid for 15 minutes.

Extracting data after interaction

Combine actions with extract to pull structured data after the browser is in the right state:

Persistent sessions

Reuse browser state across multiple Interact calls using sessions:
Cookies, local storage, and auth tokens persist between calls in the same session. See Identity & Sessions.

Async interactions

Long interaction sequences should be run as async jobs:
Submit to POST /v1/jobs and poll GET /v1/jobs/{id}. See Async Jobs.