Skip to content
Start here

Script

Dynamic Script - execute code and return browser session details.
client.browserRendering.script.create(ScriptCreateParams { account_id, code, browser, 5 more } params, RequestOptionsoptions?): ScriptCreateResponse
POST/accounts/{account_id}/browser-rendering/script
Dynamic Script - execute code in an existing browser session.
client.browserRendering.script.execute(stringsessionID, ScriptExecuteParams { account_id, code, library, 2 more } params, RequestOptionsoptions?): ScriptExecuteResponse
POST/accounts/{account_id}/browser-rendering/script/{session_id}
ModelsExpand Collapse
ScriptCreateResponse = string | null | number | null | boolean | null | 2 more

The script’s return value, or null when it returned nothing. Arrays nested inside arrays are also returned, but this schema does not describe them.

One of the following:
string | null
number | null
boolean | null
Record<string, unknown> | null
Array<string | null | number | null | boolean | null | Record<string, unknown> | null> | null
string | null
number | null
boolean | null
Record<string, unknown> | null
ScriptExecuteResponse = string | null | number | null | boolean | null | 2 more

The script’s return value, or null when it returned nothing. Arrays nested inside arrays are also returned, but this schema does not describe them.

One of the following:
string | null
number | null
boolean | null
Record<string, unknown> | null
Array<string | null | number | null | boolean | null | Record<string, unknown> | null> | null
string | null
number | null
boolean | null
Record<string, unknown> | null