Skip to main content
POST
Eval

Description

Executes a JavaScript expression in the context of the current page and returns the result.

Authentication

Open-source deployments do not require authentication by default. If your server config enables X-API-Key, include that header with the request.

Path Parameters

string
required
The browser ID returned from Create Session.

Request Body

string
required
The JavaScript expression to evaluate.

Response

boolean
Whether the evaluation completed successfully.
object
The return value of the evaluated expression.

Example