Saurav Panda
719d0361e5
Fix reconnection wait timeout to cover full auto-reconnect window
...
The circuit breaker and agent error handler were using a hardcoded 20s
timeout, but the worst-case auto-reconnect window is ~48s (3 attempts *
15s + 7s delays). Handlers would raise ConnectionError while reconnection
was still in progress. Now both use BrowserSession.RECONNECT_WAIT_TIMEOUT
(54s) derived from the actual reconnect parameters.
2026-02-23 17:47:52 -08:00
Saurav Panda
abd0326a6f
Add WebSocket reconnection for remote browser CDP connections
2026-02-23 16:34:21 -08:00
LarsenCundric
c67c31932e
Fix
2026-02-20 10:57:00 -08:00
Laith Weinberger
3dd56ff85f
lint
2026-01-31 10:38:02 -05:00
Laith Weinberger
40e1a80a98
add tool to wait for file download, fixing issue where it'd call complete before download
2026-01-30 22:51:33 -05:00
reformedot
bf350bc4b0
refactor: update agent focus handling to use target ID consistently
...
- Replaced instances of `agent_focus` with `agent_focus_target_id` across various components to ensure consistent target management.
- Enhanced error handling and logging in `Watchdog` classes to reflect the new target ID approach.
- Improved session retrieval methods to streamline interactions with the `SessionManager`, ensuring better performance and reliability.
2025-11-10 14:29:50 -08:00
reformedot
b2b5a260db
fix: fixed cubic issues + handle onTabClosed event emission correctly
2025-10-28 18:57:25 -07:00
reformedot
f0469a8427
fix: fixed "No active exception to reraise" error
2025-10-26 12:15:22 -07:00
reformedot
54e4dacbf9
feat: improved session manager
2025-10-26 06:05:49 -07:00
Magnus Müller
6568a4061f
Remove activateTarget
2025-10-11 18:28:24 -07:00
Magnus Müller
53ec92fc36
Remove colours from watchdog logs
2025-10-11 17:21:56 -07:00
Nick Sweeting
9bc76dacfa
typing of attach_handler_to_session and on_SwitchTabEvent handling when no pages are open
2025-08-16 17:08:04 -07:00
Nick Sweeting
5cc7d0f301
move dropdown options to proper event handlers
2025-08-14 16:44:29 -07:00
Nick Sweeting
92c3f38dc4
remove uuids in selector_map for now
2025-08-12 17:51:00 -07:00
Nick Sweeting
21833650a3
cleanup attach_to_session and improve logging
2025-08-12 15:09:08 -07:00
Nick Sweeting
263cfe2306
better logging for bubus handlers
2025-08-12 13:48:00 -07:00
Nick Sweeting
640f147995
fix cdp session recovery when no focus exists
2025-08-12 12:14:21 -07:00
Nick Sweeting
c37b72adb1
fix screenshot return type and add recovery using activateTarget when any handler fails
2025-08-12 12:11:33 -07:00
Magnus Müller
4ebfadbb7a
Implement session integrity check in DefaultActionWatchdog and enhance error handling in BaseWatchdog to manage timeouts gracefully
2025-08-09 14:15:12 -07:00
Nick Sweeting
5c551272cb
fix screenshots
2025-08-08 05:14:01 -07:00
Nick Sweeting
db4c4e9b49
fix duplicate typed keystrokes
2025-08-08 04:13:44 -07:00
Nick Sweeting
734e58a1fc
hotload page immediately based on url found in task
2025-08-08 03:16:55 -07:00
Nick Sweeting
e9add2d745
add screenshot watchdog
2025-08-07 17:49:25 -07:00
Nick Sweeting
eedf0e7aa8
fix cross-origin iframe handling
2025-08-06 17:02:18 -07:00
Nick Sweeting
daa430435d
working cli
2025-08-06 06:23:45 -07:00
Nick Sweeting
91ae42f7a0
remove dead code
2025-08-05 02:35:06 -07:00
Nick Sweeting
0512c42448
tweak logging
2025-08-05 02:30:14 -07:00
Nick Sweeting
145dbf6e2b
fix type hints
2025-08-04 19:57:13 -07:00
Nick Sweeting
659c5145f6
more event-driven refactoring
2025-08-01 02:42:01 -07:00
Nick Sweeting
ebc3a3846f
wip cleanup flow]
2025-07-31 22:10:25 -07:00