navigate
Load a destination URL in the current tab, automatically prefixing https:// when missing. The page becomes part of browser history after loading.
Instructions
Navigate the current browser tab to a URL.
Use this when the browser needs to visit a new URL rather than move through its existing back/forward history.
If the URL does not include a protocol such as "https://", SeleniumBase automatically prefixes "https://" before navigation. For example, "seleniumbase.io" becomes "https://seleniumbase.io".
Navigation waits for the initial HTML document to be loaded before returning. The visited page becomes part of the browser's navigation history.
Args: url: Destination URL. May be a complete URL such as "https://example.com" or a hostname such as "example.com".
Returns: A confirmation containing the requested URL.
Tool selection: - Go to a new URL -> use navigate. - Return to the previous page -> use manage_history(action="back"). - Go forward in history -> use manage_history(action="forward"). - Refresh the current page -> use manage_history(action="reload").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |