Navigate to URL
Path parameters
The unique identifier of the tab
Body parameters
User identifier for session isolation
Direct URL to navigate to (e.g.,
https://example.com). Either url or macro is required.Search macro name (e.g.,
@google_search, @youtube_search). Either url or macro is required.Search query to use with macro (required if
macro is provided)Session key for grouping tabs (legacy parameter:
listItemId also accepted)Response
Always
true on successThe tab identifier
The final URL after navigation (may differ from requested URL due to redirects)
Whether element references were successfully built for the loaded page
Search macros
Macros expand to search URLs for popular websites:| Macro | Expands to |
|---|---|
@google_search | https://www.google.com/search?q={query} |
@youtube_search | https://www.youtube.com/results?search_query={query} |
@amazon_search | https://www.amazon.com/s?k={query} |
@reddit_search | https://www.reddit.com/search.json?q={query}&limit=25 |
@wikipedia_search | https://en.wikipedia.org/wiki/Special:Search?search={query} |
@twitter_search | https://twitter.com/search?q={query} |
@yelp_search | https://www.yelp.com/search?find_desc={query} |
@linkedin_search | https://www.linkedin.com/search/results/all/?keywords={query} |
@spotify_search | https://open.spotify.com/search/{query} |
@netflix_search | https://www.netflix.com/search?q={query} |
@instagram_search | https://www.instagram.com/explore/tags/{query} |
@tiktok_search | https://www.tiktok.com/search?q={query} |
@twitch_search | https://www.twitch.tv/search?term={query} |
@reddit_subreddit | https://www.reddit.com/r/{query}.json?limit=25 |
Auto-tab creation
If the specifiedtabId doesn’t exist, a new tab is automatically created (up to session limits). This allows simplified workflows without separate /tabs POST.
Navigation behavior
- Waits for
domcontentloadedevent (default timeout: 30s) - Attempts to wait for network idle (5s timeout, continues if missed)
- Waits for framework hydration (React/Next.js/Vue detection)
- Auto-dismisses common consent/privacy dialogs
- Builds element references after page load
- Resets cached snapshots and refs
Go back
Path parameters
The unique identifier of the tab
Body parameters
User identifier for session isolation
Response
Always
true on successThe URL after navigating back
Go forward
Path parameters
The unique identifier of the tab
Body parameters
User identifier for session isolation
Response
Always
true on successThe URL after navigating forward
Refresh page
Path parameters
The unique identifier of the tab
Body parameters
User identifier for session isolation
Response
Always
true on successThe current URL (unchanged)
Error codes
400- Missing required parameter or invalid URL scheme (only http/https allowed)404- Tab not found429- Maximum tabs per session reached (when auto-creating tab)500- Navigation failed (timeout, network error)
Examples
Navigate to direct URL
Search using macro
Go back in history
Go forward in history
Refresh page
Best practices
- Use macros for search: Simpler and more maintainable than manually constructing URLs
- Check
refsAvailable: Iffalse, the page may still be loading - wait and retry/snapshot - Handle redirects: The returned
urlmay differ from the requested URL - Allow timeout buffer: Complex sites may take 10-20s to fully load
- Call
/snapshotafter navigation: Element refs are rebuilt but not returned in navigate response