Overview
The Navigate step takes you to a specific URL or web page. It’s the foundation of most tests - you start by navigating to the page you want to test, then interact with it using other steps.When to Use Navigate
Use Navigate when you need to:- Start your test: Go to the initial page where your test begins
- Move between pages: Navigate to different sections of your application
- Test deep links: Verify that specific URLs load correctly
- Switch contexts: Navigate to different parts of your app during multi-step workflows
- Follow dynamic URLs: Navigate to URLs you extracted or generated earlier in your test
How It Works
Navigate tells the browser to load a specific URL, just like typing an address in the address bar and pressing Enter. It waits for the page to load before continuing to the next step, ensuring the page is ready for interaction. You can use static URLs, environment variables for different test environments, or variables you captured from previous steps for dynamic navigation.Using the Navigate Step
When you add a Navigate step, you’ll configure:Specifying the URL
You have three options for providing the URL: Static URL Enter the complete URL directly, including the protocol (http:// or https://):https://example.com/loginhttps://app.example.com/dashboard
{{BASE_URL}}/login- Navigate to login on any environment{{STAGING_URL}}/dashboard- Use staging-specific URLs
Real-World Examples
Starting a Test at Login
Environment-Specific Testing
Multi-Step Navigation Flow
Following a Dynamic URL
Testing Deep Links
Best Practices
Always Include the Protocol
- Use
https://example.comnotexample.com - Include
http://orhttps://in all absolute URLs - This prevents ambiguity and ensures correct navigation
Use Environment Variables
Store base URLs in environment variables:{{BASE_URL}}for your main application URL{{API_URL}}for API endpoints{{ADMIN_URL}}for admin panels
Navigate at the Start
Most tests begin with a Navigate step to set up the initial page state. This ensures:- Your test starts from a known page
- Browser history is predictable
- Previous test state doesn’t interfere
Wait After Navigation
For pages with heavy JavaScript or dynamic content:- Add Wait for Element after Navigate
- Wait for key page elements to appear before interacting
- Account for loading indicators that disappear
Troubleshooting
Page Doesn’t Load
Symptom: Navigation fails or times out Solution:- Verify the URL is correct and accessible
- Check that the protocol (http:// or https://) is included
- Ensure your test environment can reach the URL
- Check for network or firewall issues
- Verify DNS resolution if using domain names
Environment Variable Not Working
Symptom: URL shows{{VARIABLE_NAME}} literally
Solution:
- Verify the variable is defined in your environment settings
- Check the variable name matches exactly (case-sensitive)
- Ensure you’re using double curly braces:
{{VAR}} - Confirm you’re running in the correct environment
Variable Dropdown Is Empty
Symptom: “Use variables” shows no options Solution:- Variables only appear if declared in previous steps
- Use Extract Value or similar steps to create variables first
- Check that earlier variable assignment steps ran successfully
Page Loads But Content Missing
Symptom: Navigation succeeds but page appears empty or incomplete Solution:- Add Wait for Element to wait for content to load
- Check for JavaScript errors in the browser console
- Verify the page works when loaded manually
- For single-page apps, ensure client-side routing completes
Wrong Page Loads
Symptom: A different page than expected appears Solution:- Verify the URL is exactly correct
- Check for redirects that might change the destination
- Use Check URL after navigation to confirm
- Look for authentication redirects (like going to login first)
Navigation Types
Full Page Navigation
Navigate performs a complete page load:- Clears previous page state
- Loads all resources (HTML, CSS, JS, images)
- Triggers page initialization
- Resets browser context
Single-Page App Considerations
For SPAs (React, Vue, Angular apps):- Initial navigation loads the app shell
- Subsequent navigations might use client-side routing
- Content may load asynchronously after navigation
- Add waits for dynamic content to appear
Related Steps
- Check URL - Verify you’re on the correct page after navigation
- Wait for Element - Wait for page content after navigation
- Go Back - Return to the previous page
- Reload - Refresh the current page
- Extract Value - Capture URLs to navigate to later

