Commit Graph

641 Commits

Author SHA1 Message Date
Nick Sweeting 5171916bb4 fix har recording and logging tests 2025-07-08 01:12:10 -07:00
Nick Sweeting 1b9f7253f0 fix tests and simplify pid detection 2025-07-08 00:56:25 -07:00
Nick Sweeting 45bf9815a5 fix cookies errors in tests and launch pid detection 2025-07-08 00:37:46 -07:00
Nick Sweeting ab36c9a301 document multiple mcp servers connected to client 2025-07-07 18:04:32 -07:00
Nick Sweeting 983696aed1 Merge branch 'main' into mcp-server 2025-07-07 17:07:53 -07:00
Nick Sweeting 6dcf479fc6 add readme MCP section and fix lint errors 2025-07-07 17:07:06 -07:00
Daniel T. c5a3c0cf2e Refines dynamic page state calculations
Replaces static page statistics with dynamic calculations for
viewport and scroll position metrics. Simplifies code logic in
scroll handling by removing unnecessary defaults for page
scrolling. Improves readability and reliability of page
scroll operations by requiring explicit num_pages parameter.

Enhances page-view consistency and user interaction handling.
2025-07-07 21:22:12 +02:00
Daniel T. 55c392a8a3 Merge remote-tracking branch 'upstream/main' into enhancement/improved-scroll-action 2025-07-07 19:04:35 +02:00
Daniel T. 539274a7d4 Updates scroll functionality to use page units
Replaces pixel-based scrolling with page unit determination, allowing for more intuitive scroll actions by specifying the number of pages. Adjusts related documentation, examples, and tests to reflect this change for improved code consistency and user experience.
2025-07-07 18:21:37 +02:00
Daniel T. eb7c7fa2bc Enhances scroll action testing
Removes unnecessary Field description in ScrollAction to streamline code.

Implements additional test cases for varying scroll amounts, improving test coverage and validation of scrolling behavior in the integration tests.
2025-07-07 17:34:57 +02:00
Magnus Müller 718fe9f679 Fix controller tests 2025-07-07 16:06:21 +02:00
Magnus Müller d3496874db Update test 2025-07-07 16:01:09 +02:00
Magnus Müller ea481972b1 Merge branch 'main' into better-error-handling-and-lmnr-inclusion 2025-07-07 15:33:08 +02:00
Magnus Müller 1a7d5bf5ac Remove retry test because we dont need to retry tool calls - the llm can just decide how to contine 2025-07-07 15:30:26 +02:00
mertunsall daf1754d58 move tests 2025-07-07 13:43:03 +02:00
Magnus Müller d03196c09c Merge remote-tracking branch 'origin/main' into include-lmnr 2025-07-06 23:42:14 +02:00
Alezander9 7b5ea73b4d fix ruff errors 2025-07-05 20:48:37 -07:00
Alezander9 522f55f81e fix-screenshot-test 2025-07-05 20:24:27 -07:00
mertunsall 220f0bc994 update models to gpt-4.1 2025-07-05 10:32:49 +02:00
mertunsall 304b065d59 more security 2025-07-05 02:07:11 +02:00
Magnus Müller dc43bc2528 Fixed test because we dont use include_in_memory anymore & success=False is not needed 2025-07-04 17:34:29 +02:00
Mert Unsal d5fe291a38 Merge branch 'main' into mert/dont_use_fs 2025-07-01 12:05:27 +02:00
Nick Sweeting 6a5e86204b speed up screenshot tweaks 2025-07-01 01:42:28 -07:00
mertunsall 35120fc253 dont use fs for short tasks, dont initialize results.md 2025-07-01 10:29:11 +02:00
Nick Sweeting 6170953b5e disable screenshot clipping entirely for now 2025-06-30 23:47:20 -07:00
mertunsall 6ab1093627 fix more tests 2025-06-29 23:18:10 +02:00
mertunsall 4bf3ca302b fix more tests 2025-06-29 23:05:28 +02:00
mertunsall 087f89333b fix tests 2025-06-29 22:57:45 +02:00
Nick Sweeting be32400e19 make test_browser_session_reuse_with_retry_decorator less flaky 2025-06-28 04:08:46 -07:00
Nick Sweeting 622bd1da0f fix lint 2025-06-28 04:07:16 -07:00
Gregor Žunič b247a8d848 removed test for drag and drop 2025-06-28 10:09:23 +02:00
Nick Sweeting 40c1988c61 we dont need these tests anymore 2025-06-27 05:26:07 -07:00
Nick Sweeting e2777b8cbf fix logging spacing 2025-06-27 05:19:02 -07:00
Nick Sweeting 55f63dd2da disable screenshot rescaling and only use original viewport if set 2025-06-27 05:19:02 -07:00
Nick Sweeting 81bd0b80f2 test fixes 2025-06-27 04:45:14 -07:00
Nick Sweeting 587dd998ac fix unecesary eval on screenshot 2025-06-27 04:34:50 -07:00
Nick Sweeting 8ba2ddaef1 switch_tab and bring_to_front + autorestart browser 2025-06-27 04:17:26 -07:00
Nick Sweeting 96e1743962 hack to force browser validity 2025-06-27 03:56:51 -07:00
Nick Sweeting 248dcedab9 dunno why pid detection stopped working 2025-06-27 03:43:45 -07:00
Nick Sweeting 072ad02a1b fix tests 2025-06-27 03:41:15 -07:00
Nick Sweeting 9760ac76c2 more test fixes 2025-06-27 03:36:54 -07:00
Nick Sweeting d5678324cb comment 2025-06-27 03:28:34 -07:00
Nick Sweeting dd5edc5324 test fixes 2025-06-27 03:28:34 -07:00
Nick Sweeting ffba61d8f0 tweak step timeouts 2025-06-27 03:16:42 -07:00
Nick Sweeting 6fd0883923 more test fixes 2025-06-27 03:03:12 -07:00
Nick Sweeting fe3af9479a run only one proc for tests for now 2025-06-27 03:02:03 -07:00
Nick Sweeting 96ed583d68 fix connection tests 2025-06-27 02:57:17 -07:00
Nick Sweeting c0c895da58 fix tests 2025-06-27 02:50:49 -07:00
Nick Sweeting 641a73c509 remove CDP direct calls to playwright private APIs 2025-06-27 02:10:08 -07:00
Nick Sweeting 9cc9164285 tweak browser session start test 2025-06-27 01:07:25 -07:00