JavaScript Executors
Learn about the different JavaScript Executors supported on Automate TurboScale.
The following table lists the JavaScript Executors.
Action | Syntax |
---|---|
setSessionStatus | driver.execute_script('browserstack_executor: {"action": "setSessionStatus", "arguments": {"status": "passed", "reason": "Title matched!"}}' |
setSessionName | driver.execute_script('browserstack_executor: {"action": "setSessionName", "arguments": {"name": "<test-name>"}}') |
annotate | driver.execute_script('browserstack_executor: {"action": "annotate", "arguments": {"type": "logging", "data": "Some Data"}}') |
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!