Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update browser_use/utils.py

Nick Sweeting95e9049faf07
diff --git a/browser_use/utils.py b/browser_use/utils.py
index bf48f4423..3fd4c4ba7 100644
--- a/browser_use/utils.py
+++ b/browser_use/utils.py
@@ -424,7 +424,7 @@ def is_new_tab_page(url: str) -> bool:
Returns:
bool: True if the URL is a new tab page, False otherwise
"""
- return url in ('about:blank', 'chrome://new-tab-page/', 'chrome://new-tab-page', 'chrome://newtab/')
+ return url in ('about:blank', 'chrome://new-tab-page/', 'chrome://new-tab-page', 'chrome://newtab/', 'chrome://newtab')
def match_url_with_domain_pattern(url: str, domain_pattern: str, log_warnings: bool = False) -> bool: