Commit Graph

136 Commits

Author SHA1 Message Date
Nick Sweeting
2780759832 fix tests the hacky way for now 2025-05-12 05:47:59 -07:00
Nick Sweeting
96682d8910 switch back from patchright to playwright until issues are resolved 2025-05-09 18:14:07 -07:00
Phenomenon
712acf3074 Merge branch 'main' into dropdown_click 2025-05-06 23:34:02 +05:30
Anirudha619
429a4bba42 Refactor tests in test_controller.py to use pytest-httpserver 2025-05-06 23:13:23 +05:30
Nick Sweeting
d24e609e9f Merge branch 'main' into fix/add-grant-permissions-method-to-dummycontext 2025-05-06 05:02:08 -07:00
dha-aa
a6a5920dfd Fix: Add missing 'grant_permissions' method to DummyContext to resolve AttributeError in test 2025-05-06 11:36:51 +00:00
dha-aa
ecb00ea3b4 Fix: Add missing 'grant_permissions' method to DummyContext to resolve AttributeError in test 2025-05-06 11:22:57 +00:00
Nick Sweeting
e295590cca change test_controller to also use pytest-httpserver 2025-05-06 18:56:12 +08:00
Nick Sweeting
cef1d43cbf change test_tab_management to use pytest-httpserver for more deterministic tests 2025-05-06 18:26:38 +08:00
Nick Sweeting
fc1505902b dont disable security in tests 2025-05-06 18:18:44 +08:00
Nick Sweeting
1b07c076c3 always use new headless mode 2025-05-06 18:02:25 +08:00
Anirudha619
333c5b016f update assertion in test_get_dropdown_options 2025-05-05 23:30:02 +05:30
Anirudha619
4ae56abfcf add test for click_element_by_index 2025-05-05 23:06:36 +05:30
Anirudha619
1a662782b6 add test for select_dropdown_option 2025-05-05 23:04:31 +05:30
Anirudha619
fa9f651697 add test_get_dropdown_options 2025-05-05 23:00:05 +05:30
Anirudha619
4d62a692d4 add controller test 2025-05-04 23:36:42 +05:30
Nick Sweeting
1a352c7c86 add tests for sensitive data 2025-05-04 20:21:23 +08:00
Nick Sweeting
73b86843f2 add new tab management test with controller actions 2025-05-04 18:40:49 +08:00
Nick Sweeting
84c43e6a1e add tests for current tab detection 2025-05-04 17:57:23 +08:00
Nick Sweeting
d08b402101 finish updating last few locations where nested window_size was used 2025-05-04 00:29:29 +08:00
Nick Sweeting
3a1fa0f506 add test 2025-05-03 23:53:09 +08:00
Nick Sweeting
4b1e15d8bd remove BrowserWindowContextSize in favor of window_width and window_height attrs 2025-05-03 15:32:42 +08:00
Nick Sweeting
2be4ba4f70 more pyupgrade changes 2025-05-02 20:50:21 +08:00
Nick Sweeting
db09acb7f6 Merge branch 'main' into pyupgrade 2025-05-02 05:35:33 -07:00
Nick Sweeting
66b3c26df5 add pyupgrade to lint rules 2025-05-02 15:21:23 +08:00
Nick Sweeting
44a5346c01 Update tests/test_controller.py 2025-05-02 02:41:27 -04:00
Nick Sweeting
b898d4915a Merge branch 'main' into test-controller 2025-05-01 00:42:37 -07:00
Sandeep Salwan
361fb82142 Fix: Respect user-provided no_viewport setting in browser sizing 2025-04-30 21:14:08 -07:00
Sandeep Salwan
b4133b8912 Fix browser_window_size not changing window size in non-headless mode 2025-04-29 18:02:29 -07:00
Anirudha619
8c5569d024 add more controller test 2025-04-30 01:08:35 +05:30
Anirudha619
a65a66d5b6 add controller test 2025-04-29 23:14:36 +05:30
Nick Sweeting
d781a3faab fix lint errors 2025-04-28 04:06:19 +08:00
shyanilMishra
c94e8e4f7c Handle empty model output action with retry and safe fallback part 2 2025-04-27 23:02:08 +05:30
Nick Sweeting
04f59a0e49 Merge pull request #1482 from prenit-wankhede/main 2025-04-26 18:38:54 -07:00
Prenit Wankhede
0b21e50ca6 allow providing chrome_remote_debugging_port in browser config. fix launching user provided chrome browser. 2025-04-26 15:11:25 +04:00
Anirudha619
2cea6aef79 run pre-commit 2025-04-25 23:42:23 +05:30
Anirudha619
c7941adec6 Fix RuntimeError: no running event loop 2025-04-22 23:08:39 +05:30
lynn
192b42ff79 chore: replace playwright with patchright 2025-04-22 15:43:01 +08:00
Christian Clauss
fb3282527d Detect blocking synchronous commands in asyncio code 2025-04-21 22:30:43 +02:00
Anirudha619
6d1f10b396 change action name from click_element to click_element_by_index 2025-04-21 22:55:53 +05:30
Nick Sweeting
8ba3e570e6 Merge branch 'main' into bot-detection-batch 2025-04-16 15:19:02 -07:00
Alezander9
a999325181 feat: add new evaluation script 2025-04-16 12:09:57 -07:00
neo773
c33c3aeb35 Merge branch 'main' into bot-detection-batch 2025-04-12 07:25:58 +05:30
Ulrich Soeffing
0f0e269ba8 Add handle_sigterm and handle_sigint args to DummyChromium launch method 2025-04-09 09:07:54 -04:00
Nick Sweeting
591097e35f add thorough real-world browser launch test for config models 2025-04-06 12:28:40 -07:00
Nick Sweeting
c49ce804a0 migrate from TypedDict to Pydantic models for browser config 2025-04-06 12:28:21 -07:00
neo773
c5dc3d7cfa fix CSP, Shadow DOM & Migrate to Patchright 2025-04-02 07:05:39 +05:30
neo773
9adead2a45 Merge branch 'main' into bot-detection-batch 2025-04-02 02:00:50 +05:30
Christian Clauss
e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting
ebebfb5c92 Merge branch 'main' into bot-detection-batch 2025-03-30 18:37:51 -07:00