Commit Graph

1437 Commits

Author SHA1 Message Date
mertunsall d06d8fa8a2 image resizing the make sonnet 4.5 work 2025-11-07 22:20:14 -08:00
reformedot bcd88c21c2 refactor: optimize session handling and logging
- Removed redundant responsiveness checks and improved timing logs in `BrowserSession`.
- Updated focus change logic to retrieve target type from `SessionManager`, reducing CDP calls.
- Enhanced `DownloadsWatchdog` to obtain target URL directly from session data, improving efficiency.
2025-11-07 16:57:28 -08:00
reformedot e64edf82d6 chore: added timing logs 2025-11-07 16:13:58 -08:00
reformedot 0b89bfd7ba feat: add method to retrieve all page sessions and refactor navigation logic
- Introduced `get_all_page_sessions` method in `SessionManager` to fetch all active page/tab sessions.
- Updated `BrowserSession` to utilize the new method for improved navigation and tab management, enhancing performance and readability.
- Refactored related navigation event handling to leverage cached session data instead of direct CDP calls.
2025-11-07 13:09:34 -08:00
reformedot af9123edd4 fix: fixed lifecycle event monitoring 2025-11-07 11:10:23 -08:00
Aitor e0e6491c5d Merge branch 'main' into feat/improve-navigation 2025-11-07 19:33:03 +01:00
reformedot 813e5e3589 fix: fixed navigation events check 2025-11-07 10:29:54 -08:00
reformedot 984a8c678b feat: enhance session management with target discovery and event handling
- Enabled target discovery to automatically receive targetInfoChanged events, reducing the need for polling.
- Added event handler for targetInfoChanged to update session title and URL dynamically.
- Improved initialization of existing targets to ensure monitoring readiness without race conditions.
- Updated navigation logic to utilize cached session data for faster access to target information.
2025-11-07 10:20:11 -08:00
reformedot 027fae6c23 fix: improved session manager 2025-11-06 21:10:26 -08:00
reformedot 62c0495ef0 fix: enable page monitoring on already existing targets 2025-11-06 17:53:56 -08:00
Mert Unsal 38fb9faaa4 Merge branch 'main' into mert/click_by_coordinate 2025-11-06 16:54:11 -08:00
kalil0321 103bd46677 Merge branch 'main' into attempt-fix-real-browser 2025-11-07 01:33:14 +01:00
reformedot 29915de253 chore: linting 2025-11-06 16:26:10 -08:00
reformedot 052286e630 feat: improved navigate to URL event logic and wait mechanism 2025-11-06 16:20:51 -08:00
mertunsall 67d2f12665 default to PNG everywhere 2025-11-06 14:51:52 -08:00
kalil0321 680c71bdec Merge branch 'main' into attempt-fix-real-browser 2025-11-03 16:21:58 +01:00
Mert Unsal bc7b353316 Merge branch 'main' into mert/click_by_coordinate 2025-11-01 14:00:09 -07:00
mertunsall 4dca53282c add clicking by coordinate 2025-11-01 13:58:15 -07:00
Gregor Žunič 5e428e829b Merge branch 'main' into feature/remote-code 2025-10-31 12:19:39 -07:00
Gregor Žunič b388886c8f extra headers for creation of browser 2025-10-30 15:03:30 -07:00
Gregor Žunič 3d12b6d5b2 extra headers 2025-10-30 14:49:06 -07:00
Gregor Žunič 9c88c5a828 better cloud params 2025-10-30 13:05:41 -07:00
Magnus Müller 4951002ae3 Linter 2025-10-30 11:10:56 -07:00
Magnus Müller 7468ca2e3f Remove old method 2025-10-30 11:08:49 -07:00
Magnus Müller 356183b4c5 Dropdown mesage 2025-10-30 10:11:32 -07:00
Magnus Müller e5fb13d2ca Wait 1 s after navigation 2025-10-30 10:05:13 -07:00
Magnus Müller 438379aa7b Small fix 2025-10-30 00:47:24 -07:00
Magnus Müller 49cf6cd459 Session fix input breaks 2025-10-30 00:44:44 -07:00
Magnus Müller fc0fa6f773 Logs 2025-10-30 00:35:05 -07:00
Magnus Müller d93106fef6 Fix dropdown error 2025-10-30 00:29:43 -07:00
Magnus Müller 7a571f507f Logs 2025-10-30 00:09:57 -07:00
Magnus Müller a403116905 Logs 2025-10-29 23:53:41 -07:00
Magnus Müller f8ca1ab3b4 Logs 2025-10-29 23:53:12 -07:00
Magnus Müller 6bfd8bb23c Clear input for other elements 2025-10-29 23:53:05 -07:00
Magnus Müller 0badc5d4cc Date setting update 2025-10-29 21:49:03 -07:00
Magnus Müller ec7bdbf802 Dropdown fix 2025-10-29 21:34:40 -07:00
Magnus Müller d0b8469c68 Linter 2025-10-29 21:18:31 -07:00
Magnus Müller 9e93a92ba4 Include popup msg into browser state 2025-10-29 21:18:20 -07:00
Magnus Müller d8955bc179 Linter 2025-10-29 20:17:36 -07:00
Magnus Müller f1e3fbcd0c More forms for datepicker 2025-10-29 20:17:20 -07:00
Magnus Müller 04ce92202a Linter 2025-10-29 19:45:46 -07:00
Magnus Müller b04e8f5773 Fix time inputs 2025-10-29 19:29:46 -07:00
Magnus Müller ad505378df Refactor dropdown option logging and error messages in DefaultActionWatchdog and Tools classes
- Updated the logging messages for dropdown options to be more concise and clear.
- Adjusted error messages in the Tools class to reflect the action of typing text instead of inputting it, enhancing clarity in debugging logs.
2025-10-29 18:28:04 -07:00
Magnus Müller e33393afcf fix-enter 2025-10-29 18:09:59 -07:00
Magnus Müller 8296e430aa Change logs 2025-10-29 16:14:32 -07:00
Magnus Müller 5faba663e2 Enhance dialog handling in watchdogs
- Added functionality to enable the Page domain for dialog events in the PopupsWatchdog, improving dialog management.
- Implemented a small delay for dialog dismissal in DefaultActionWatchdog to ensure smoother interactions.
- Updated logging to provide clearer feedback on dialog handling success and failures, including session identifiers for better traceability.
2025-10-29 14:04:48 -07:00
Magnus Müller dfc7e32c69 Update click to download pdfs 2025-10-29 13:13:21 -07:00
Magnus Müller 82346f194d Revert "More timeouts"
This reverts commit c401b770fe.
2025-10-29 12:55:51 -07:00
Magnus Müller c401b770fe More timeouts 2025-10-29 12:46:38 -07:00
Magnus Müller 34cc9ac7da Linter 2025-10-29 12:46:21 -07:00