navigate
Open a URL in the browser
Open a page. Use a full URL or an environment variable inside quotes.
Syntax
Given I navigate to "<url>"Qualifiers
| Qualifier | Role | Required |
|---|---|---|
to | URL payload | Yes |
Examples
Given I navigate to "https://example.com"
Given I navigate to "https://example.com/login"
Given I navigate to "$BASE_URL"Notes
- Web: every scenario needs a
navigatestep to start (or continue) on a page. There is noSTK_BASE_URL. - Mobile: the app opens from
Package:/Activity:headers. Usenavigate tofor in-app screen routing (activity name or deep link), not for the initial launch. - Platform: primarily web for HTTP URLs.