Commit Graph

1467 Commits

Author SHA1 Message Date
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
Nick Sweeting f81c381a65 loading animation never blocks 2025-07-09 14:19:25 -07:00
Nick Sweeting 73fe288370 only warn storage_state conflict with user_data_dir when not tmp user_data_dir 2025-07-09 14:00:17 -07:00
Magnus Müller 44ebde5dd8 Merge branch 'main' into laminar-ignore-input-output 2025-07-09 22:31:36 +02:00
Nick Sweeting c0b139e8e9 ignore nav during nav 2025-07-09 13:29:50 -07:00
Magnus Müller 6407c10918 laminar-ignore input output 2025-07-09 22:27:22 +02:00
Billy 141cf5cf75 fix: use user-provided executable_path instead of defaulting to chromium
Previously, the code always used `self.playwright.chromium.executable_path`
regardless of whether the user provided a custom `executable_path` in their
BrowserProfile. This caused the browser to always launch with the default
Chromium executable instead of the user's specified browser.

Now properly checks for `self.browser_profile.executable_path` first and
only falls back to the default if no custom path is provided.

Fixes issue where custom browser executables were ignored during launch.
2025-07-09 20:20:19 +05:30
mertunsall 2a84983acc fix 2025-07-09 16:14:10 +02:00
Magnus Müller a9895087a8 Merge branch 'main' into cursor/ignore-about-blank-tab-in-context-d397 2025-07-09 12:53:19 +02:00
Magnus Müller 0e3a9ae8a9 Update session.py 2025-07-09 12:51:25 +02:00
Gregor Žunič 8a2eda1828 wip, started migrating to pure cdp 2025-07-09 12:22:21 +02:00
Magnus Müller 36a7accb54 Merge remote-tracking branch 'origin/main' into fix-lmnr-serilization 2025-07-09 10:04:18 +02:00
Magnus Müller 1eb6ea28c0 Update observability decorators in service classes
- Added `ignore_output=True` to the `@observe_debug` decorator in the Agent and BrowserSession classes to suppress output for specific methods.
- Updated the `@observe_debug` decorator in the MessageManager class to include `ignore_input=True` for better control over debug logging.
2025-07-09 10:04:05 +02:00
Nick Sweeting 4959b9b4af raise timeout for interactivity check to avoid flaky tests 2025-07-08 21:46:28 -07:00