Skip to content

Browser Actions

This page defines all of the built in browser scoped actions.

Opens a new browser tab (Session). All nodes within the new_page block are executed sequentially within that specific tab’s context.

Transitions from Browser Scope to Session Scope.

new_page {
goto "https://google.com"
type "Hello World!"
$ "button[title='Search']" {
click
}
}

Executes multiple Browser Actions concurrently. This is the primary way to perform multi-tab automation or run simultaneous workflows. If any action fails, the entire operation will fail.

parallel {
new_page { ... }
new_page { ... }
}

Pauses the execution of the current scope for a specified duration.

  • time: The duration in milliseconds. Can be a static number or a dynamic expression.
// Static
sleep 2500
// Dynamic
sleep "=sec(2.5)"