Browser Steps
Control browser-level functionality
Browser steps give you control over browser-level functionality: tabs, storage, JavaScript execution, and request interception.
JavaScript
Execute custom JavaScript code directly in the browser context.
Configuration:
code(required): JavaScript code to execute in browsertimeout(optional): Maximum execution time
Learn more about JavaScript step capabilities including Faker data generation and variable setting.
New Tab
Open new browser tabs with specific URLs.
Configuration:
url(required): URL to open in new browser tab
Switch Tab
Switch between open browser tabs.
Configuration:
matcher(required): Tab title/url substring or regex, or tab number
Reload Tab
Reload the current browser tab.
Configuration:
timeout(optional): Maximum time to wait for reload in milliseconds
Cookie
Set browser cookies for authentication or state management.
Configuration:
cookie(required): Cookie string in Set-Cookie header format
Local Storage
Manage browser local storage for maintaining application state.
Configuration:
key(required): Local storage key namevalue(required): Local storage value to set
Load Browser State
Restore previously saved browser state including cookies, storage, and session data.
Configuration:
state(required): Browser state identifier to load
Enable Request Intercept
Enable specific request interception rules during test execution to dynamically mock API responses.
Configuration:
ruleIds(required): Array of request intercept rule IDs to enable
Request intercept rules are managed globally in Settings > Request Intercepts. This step activates selected rules.
Disable Request Intercept
Disable specific request interception rules that were previously enabled.
Configuration:
ruleIds(required): Array of request intercept rule IDs to disable
Copy
Copy text to the system clipboard.
Configuration:
text(required): Text to copy to clipboard
Paste
Paste content from the system clipboard. No additional configuration required.
Unfocus
Remove focus from the currently active element. Useful for triggering blur events or closing dropdowns.
