▶
ExecutionTrigger
Automation/Browser/Extract
Executes JavaScript code in the browser and returns the result
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Trigger
Automation session
Browser context info if browser is attached
Current page info if a page is open
Visible text contained in the element; script, style and head content is ignored.
ARIA role, optionally filtered by accessible name: `button`, `button|Sign in` (case-insensitive substring), `button|=Sign in` (exact) or `button|/^sign/i` (regex).
Element ref from the latest Browser Snapshot, such as `e12`.
JavaScript code to execute (use 'return' to return a value)
Continue
Automation session (pass-through)
Browser context info if browser is attached
Current page info if a page is open
Visible text contained in the element; script, style and head content is ignored.
ARIA role, optionally filtered by accessible name: `button`, `button|Sign in` (case-insensitive substring), `button|=Sign in` (exact) or `button|/^sign/i` (regex).
Element ref from the latest Browser Snapshot, such as `e12`.
Return value from JavaScript (as JSON)