Skip to main content
Opens the URL in a new tab in the same browser context and makes that tab active for subsequent steps.

Parameters

ParameterTypeRequiredDescription
urlstringYesURL to load in the new tab.
timeoutnumberNoMaximum navigation time in milliseconds.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Shorthand

URL as a single string.
- newTab: https://news.ycombinator.com

Examples

- newTab:
    url: http://localhost:4173/practice-tab-search
    timeout: 30000
- newTab:
    url: https://www.salesforce.com/