Commit Graph

656 Commits

Author SHA1 Message Date
Magnus Müller 041cc44700 Retries more with less timeout 2025-07-18 22:44:02 +02:00
Magnus Müller 0809c3956f 0.5 sec timeout 2025-07-18 22:32:56 +02:00
Magnus Müller fc6d5e0d24 Optimize browser setup by running configuration tasks in parallel and skip network wait for new tab pages 2025-07-18 18:59:09 +02:00
Magnus Müller d84e2c1d13 Remove 2 sec waiting while spin up 2025-07-18 18:45:50 +02:00
Magnus Müller 15dd27f2b5 Dont take screenshots in multact and move get_browser_state_with_recovery to the browser session 2025-07-18 18:11:45 +02:00
Magnus Müller bb62b9d609 Include lmnr debug 2025-07-18 17:24:17 +02:00
Magnus Müller 99f285e25a Merge branch 'main' into extraction-magnus-revert-with-main-with-extension 2025-07-16 21:51:42 +02:00
Magnus Müller e05c0270d1 Increase DOM processing timeout from 45 seconds to 120 seconds for improved handling of complex pages. 2025-07-15 14:42:45 +02:00
mertunsall 8a634327ae fix? 2025-07-15 14:17:06 +02:00
mertunsall 280b37d40e fix different way 2025-07-15 14:05:15 +02:00
mertunsall e46e60f802 fix message 2025-07-15 13:52:28 +02:00
mertunsall 3263e6751f Update screenshot handling for empty pages in BrowserSession
Changed the behavior of the screenshot method to return None instead of a 1x1 white PNG for empty pages. This adjustment accommodates the groq LLaMa models, which does not accept 1px x 1px images.
2025-07-15 13:38:49 +02:00
Magnus Müller 061e24b976 Merge remote-tracking branch 'origin/main' into extraction-magnus-revert-with-main 2025-07-14 18:35:21 +02:00
Magnus Müller ed3448cca2 lmnr ignore input 2025-07-14 15:07:41 +02:00
Magnus Müller 3521dcc695 lmnr ignore input for _is_page_responsive 2025-07-14 13:28:45 +02:00
Magnus Müller 48c9035566 Merge remote-tracking branch 'origin/main' into laminar-ignore-input-output 2025-07-14 13:23:45 +02:00
Magnus Müller 0de8497407 Include timing 2025-07-12 20:20:45 +02:00
Gregor Žunič c3f0b8ddb1 added highllights natively 2025-07-12 11:12:15 +02:00
Gregor Žunič bb253bf4f3 fixed out of viewport elements 2025-07-11 23:16:18 +02:00
Gregor Žunič 7bf17064f6 started migration to pure cdp 2025-07-11 14:19:22 +02:00
better-salmon 8584c6e582 fix: ensure new browser context is created for video recording in existing sessions 2025-07-11 15:18:14 +03:00
Nick Sweeting edadd0dcc2 Merge branch 'main' into patch-1 2025-07-11 00:14:59 -07:00
Nick Sweeting 41ba515358 dont force-close about:blank tabs 2025-07-10 23:57:11 -07:00
Nick Sweeting 75895ab9ca fix test liveness checking of sessions 2025-07-10 23:02:59 -07:00
Nick Sweeting 42d7ca0e52 fix timeout units and pageid in logger name 2025-07-10 22:51:42 -07:00
Nick Sweeting 32287be16c fix timeout units and pageid in logger name 2025-07-10 22:47:32 -07:00
Nick Sweeting 674f602ce8 fix recovery on delayed nav 2025-07-10 19:30:22 -07:00
Nick Sweeting f84503d15a tweak test expectations 2025-07-10 19:03:57 -07:00
Nick Sweeting 03c7343408 bump pyright version 2025-07-10 18:51:56 -07:00
Nick Sweeting b061e9bc22 limit navigation time for tests so they fail faster 2025-07-10 18:40:08 -07:00
Nick Sweeting fd07360f57 simpler page title fetching 2025-07-10 18:35:24 -07:00
Nick Sweeting 848fdf8aad clearer exception handling 2025-07-10 18:26:08 -07:00
Nick Sweeting 3cb45f1c8e dont include crashed tabs in list for agent 2025-07-10 18:05:53 -07:00
Nick Sweeting c96af9db7f allow more time in recovery 2025-07-10 18:02:30 -07:00
Nick Sweeting f2091a86d5 make screenshot tests parallel more lax 2025-07-10 17:57:09 -07:00
Nick Sweeting 275a848d12 force-close pages that have crashed opportunistically 2025-07-10 17:48:47 -07:00
Nick Sweeting 651ae9101b force page list refresh after force CDP close of page 2025-07-10 17:29:19 -07:00
Nick Sweeting b05da141b9 lax timeouts for pageload for easier tests 2025-07-10 17:19:14 -07:00
Nick Sweeting c321656ffe use 1px white png for about:blank screenshots 2025-07-10 16:58:24 -07:00
Nick Sweeting 317b2d1fe3 allow agent to attempt to use crashed pages 2025-07-10 16:30:58 -07:00
Nick Sweeting d66cf32615 tweak nav error handling and logging 2025-07-10 16:22:18 -07:00
Gregor Žunič 779196d74c nicer types 2025-07-10 22:28:53 +02:00
Nick Sweeting fad1fb38a9 hard cap on nav 2025-07-10 06:29:22 -07:00
Nick Sweeting ed528276af fix test 2025-07-10 06:12:48 -07:00
Nick Sweeting 5a15642d6a crashed page recovery 2025-07-10 05:17:45 -07:00
Nick Sweeting 1f698ff1c2 handle timeouts during JS execution 2025-07-09 15:05:33 -07:00
Nick Sweeting ab0f9cae8a lower initial nav timeout because we wait for loading later on 2025-07-09 14:54:02 -07:00
Nick Sweeting d1f7af3636 better logging of crashed pages 2025-07-09 14:50:36 -07:00
Nick Sweeting bdf4f3caab remove duplicate prepare_user_data_dir 2025-07-09 14:42:29 -07:00
Nick Sweeting 6f2e60d9a9 assert pages are still usable after skipping loading 2025-07-09 14:41:08 -07:00