Skip to main content

Browser automation API

This feature is in beta. All actions are executed against a real headless Chrome instance via a Playwright backend. Requests have a 60-second timeout.
The browser automation API lets your agents interact with web pages programmatically. You can navigate to URLs, capture screenshots, extract page content, fill forms, and chain multiple actions into automated workflows. Actions are proxied to a Playwright backend service running headless Chrome.

Authentication

All endpoints require a valid session. Requests without an authenticated session receive a 401 response.

Get service info

Returns the current status of the browser automation service, including the API version and a list of supported capabilities.

Response

Response fields

Perform a browser action

Executes a browser automation action. The action field determines which operation runs and which additional parameters are required.

Request body

Actions

Go to a URL and return the result.
Required parameters: url Response:

screenshot

Capture a screenshot of a page.
Required parameters: url Response: The response contains the screenshot data from the Playwright backend. Screenshots are captured in full-page mode by default.

click

Click an element on the page.

type

Type text into a form field.

extract

Extract content from a page using an optional CSS selector.
Required parameters: url Response:

fill-form

Automate form filling on a target page.
Required parameters: url, steps Response:

automate

Run a multi-step browser workflow.
Required parameters: steps (must be an array) Response:

Common response fields

All action responses include these fields: Additional fields vary by action (for example, screenshot returns a screenshot field with base64-encoded image data, and extract returns a content field).

Errors