execute_script
ScriptingExecutes a synchronous JavaScript script in the page context.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
script | string | Yes | — | JavaScript code to execute in page context |
output_variable | string | No | | Variable to store the return value |
Usage Example
RTILA X PROJECT JSON
{
"command": "execute_script",
"params": {
"script": "return document.title;",
"output_variable": "page_title"
}
}
Related Scenarios
- View /scenarios/api-interception/4 · api interception
Related Learning Articles
Was this helpful?
Thank you for your feedback!