run_script
ScriptingRuns a Deno module script with full automation APIs.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
script | string | Yes | — | Deno module source code with export default async function |
Usage Example
RTILA X PROJECT JSON
{
"command": "run_script",
"params": {
"script": "export default async function(page, context, state, helpers) { return await page.title(); }"
}
}
Related Scenarios
- View /scenarios/api-interception/1 · api interception
- View /scenarios/ecommerce/3 · ecommerce
Related Learning Articles
Was this helpful?
Thank you for your feedback!