Commit Graph

105 Commits

Author SHA1 Message Date
Nick Sweeting
2f002b4c22 rename session.py profile.py, fix stealth example, fix tests 2025-05-20 05:34:47 -07:00
Nick Sweeting
15a760ef17 backwards compatibility with old models and improved tests with icognito mode 2025-05-20 03:07:01 -07:00
Nick Sweeting
ca20ef496a add old files for compat 2025-05-19 17:50:25 -07:00
Nick Sweeting
ba8f8237f6 remove dead code 2025-05-17 04:58:27 -07:00
Nick Sweeting
e5cb0b2e15 Merge branch 'main' into browser-session 2025-05-17 04:56:45 -07:00
Nick Sweeting
90dad4a39a refactor to use new BrowserSession model 2025-05-17 04:54:13 -07:00
ajuijas
cec5e5c2ed Update browser.py
code style fixed.
2025-05-16 13:43:16 +05:30
ajuijas
c3c89c3176 browser.py code cleanup
cleanup_httpx_clients function removed from codebase.
2025-05-16 13:35:03 +05:30
Sandeep Salwan
4619e6fe44 ruff 2025-05-15 13:03:17 -07:00
Sandeep Salwan
b18661ba33 Fix Httpx close issue 2025-05-15 12:25:14 -07:00
Nick Sweeting
207fbe5218 fix no-first-run 2025-05-13 13:54:21 -07:00
CR Li
0d63cbb25d fix user_data_dir not expanded in chrome_launch_args 2025-05-13 23:26:27 +09:00
Nick Sweeting
46d7b3b5bb parse user data dir and dont disable notificaitons 2025-05-12 06:16:24 -07:00
Nick Sweeting
21cb86e66a Merge branch 'main' into back-to-playwright 2025-05-12 05:31:23 -07:00
Nick Sweeting
fa4871593a use default dir for chrome-profile 2025-05-12 05:31:09 -07:00
Anirudha619
1fa90996c4 when no_viewport is True then browser window size determines the viewport 2025-05-11 23:22:59 +05:30
Nick Sweeting
96682d8910 switch back from patchright to playwright until issues are resolved 2025-05-09 18:14:07 -07:00
Nick Sweeting
de7b4e1c82 install pkg deps separately from playwright 2025-05-06 18:13:46 +08:00
Nick Sweeting
1b07c076c3 always use new headless mode 2025-05-06 18:02:25 +08:00
Nick Sweeting
d08b402101 finish updating last few locations where nested window_size was used 2025-05-04 00:29:29 +08:00
CodingWithoutBugs
5ccbca4468 removing the browser channel from the _setup_browser in browser.py
It seems that having the channel specified to 'chrome' is causing Chrome not to open, it's possible the class should be 'chromium'. I tried a variety of combinations and noticed that once the channel was gone the browser opened up and worked well again.
2025-05-01 18:53:20 -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
Nick Sweeting
f283f3abf8 Merge branch 'main' into fix/browser-window-size 2025-04-29 02:30:10 -07:00
Nick Sweeting
5171fa09e4 replace CHROME_DEBUGGING_ARG with hardcoded fstring 2025-04-26 21:37:19 -04: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
Prenit Wankhede
b50bb22167 fix status code when checking if chrome browser is already running 2025-04-26 11:46:12 +04:00
Sandeep Salwan
e0565496e8 ruff 2025-04-24 18:30:39 -04:00
Sandeep Salwan
a10d7e4288 Fix browser_window_size not changing window size in non-headless mode 2025-04-24 18:13:33 -04:00
Nick Sweeting
02fb682d04 Merge pull request #1310 from cclauss/ruff_check_--select=ASYNC 2025-04-21 15:10:57 -07:00
Nick Sweeting
1cf4104ed3 fix async errors in features/pause_agent.py 2025-04-21 14:27:36 -07:00
Christian Clauss
fb3282527d Detect blocking synchronous commands in asyncio code 2025-04-21 22:30:43 +02:00
Nick Sweeting
1ac623f798 Merge pull request #857 from neo773/bot-detection-batch 2025-04-21 09:56:27 -07:00
Nick Sweeting
49f943cfac Merge pull request #1352 from zacka026/main 2025-04-16 16:03:26 -07:00
Nick Sweeting
68d98e77fb Merge branch 'main' into bot-detection-batch 2025-04-16 15:29:16 -07:00
Nick Sweeting
8e127b42d6 dump models properly instead of casting 2025-04-16 15:27:02 -07:00
Nick Sweeting
2ea79ecd92 fix config merging between browser and context 2025-04-16 15:19:58 -07:00
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
zhangzheng
9868b49226 Fix: incorrect config type in BrowserContext instantiation 2025-04-15 11:53:13 +08:00
neo773
c33c3aeb35 Merge branch 'main' into bot-detection-batch 2025-04-12 07:25:58 +05:30
Zack A
4c5bc7daec Assign playwright if successful start prior to browser initialization 2025-04-11 08:52:20 -04:00
Nick Sweeting
c49ce804a0 migrate from TypedDict to Pydantic models for browser config 2025-04-06 12:28:21 -07:00
neo773
aab7b3bb54 fix lint 2025-04-05 04:23:42 +05:30
neo773
50ee531388 run lint 2025-04-05 04:12:20 +05:30
Nick Sweeting
750ccb573c Merge branch 'main' into bot-detection-batch 2025-04-04 14:51:20 -07:00
Nick Sweeting
f6eb9af585 dont expose debug port on all addresses and keep security enabled by default 2025-04-04 13:57:36 -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