mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 04:30:13 +00:00
fix: revise Electron page exhaustion alert
This commit is contained in:
parent
2a6a79fbbc
commit
bd6246d56c
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class BrowserSession(BaseHybridBrowserSession):
|
|||
await self.get_new_tab()
|
||||
logger.debug(json.dumps([item.url for item in self._context.pages]))
|
||||
if not self._page:
|
||||
raise ProgramException("Electron does't has page")
|
||||
raise ProgramException("Maximum Window Limit Reached.")
|
||||
|
||||
# Apply stealth modifications if enabled
|
||||
if self._stealth and self._stealth_script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue