Skip to main content

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






Thank you for your valuable feedback

Is this page helping you?

Yes
No

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!

Talk to an Expert
Download Copy