open_url
Navigate the current browser tab to a specified URL, automatically adding https:// when no protocol is provided. Use it to visit new pages instead of moving through browser history.
Instructions
Navigate the current browser tab to the URL provided.
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 browser's navigation operation to complete before returning. Dynamic content may still be loading; use wait_for_condition when synchronization is required. If there's an error, that gets propagated through @handle_sb_errors.
Args: url: The destination URL. May be a complete URL such as "https://example.com", or a hostname such as "example.com".
Returns: A confirmation message containing the requested URL if successful.
Tool selection: - Navigate to a new URL -> use open_url. - 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 |