We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ef2b36 commit 8d662c5Copy full SHA for 8d662c5
1 file changed
browser_use/browser/session.py
@@ -2741,13 +2741,6 @@ async def navigate_to(self, url: str):
2741
raise BrowserError(f'Navigation to non-allowed URL: {normalized_url}')
2742
2743
page = await self.get_current_page()
2744
- try:
2745
- await asyncio.wait_for(page.evaluate('1'), timeout=3)
2746
- except Exception as e:
2747
- # new tab to recover
2748
- self.logger.warning(f'🚨 Page {_log_pretty_url(normalized_url)} is unresponsive, creating new tab...')
2749
- page = await self.create_new_tab(normalized_url)
2750
- return
2751
2752
try:
2753
await asyncio.wait_for(page.goto(normalized_url), timeout=0.1)
0 commit comments