lower default page loading time from 90 seconds to 60 seconds (#4076)

This commit is contained in:
Shuchang Zheng
2025-11-22 21:07:34 -08:00
committed by GitHub
parent 7729d7cffe
commit 2608c02f7a
5 changed files with 5 additions and 5 deletions

View File

@@ -402,7 +402,7 @@ class ScriptSkyvernPage(SkyvernPage):
if context and context.script_mode:
print(f"🌐 Navigating to: {url}")
timeout = kwargs.pop("timeout", settings.BROWSER_ACTION_TIMEOUT_MS)
timeout = kwargs.pop("timeout", settings.BROWSER_LOADING_TIMEOUT_MS)
await self.page.goto(url, timeout=timeout, **kwargs)
if context and context.script_mode:

View File

@@ -93,7 +93,7 @@ class SkyvernPage(Page):
return decorator
async def goto(self, url: str, **kwargs: Any) -> None:
timeout = kwargs.pop("timeout", settings.BROWSER_ACTION_TIMEOUT_MS)
timeout = kwargs.pop("timeout", settings.BROWSER_LOADING_TIMEOUT_MS)
await self.page.goto(url, timeout=timeout, **kwargs)
######### Public Interfaces #########