Commit Graph

1427 Commits

Author SHA1 Message Date
Laith Weinberger ecc34bd9f2 fix: harden CDP attach fallback (idempotent attach) 2026-02-09 15:20:03 -05:00
sudhanshu112233shukla 87ac059086 fix(browser): add explicit fallback for CDP session attachment (#3735) 2026-01-08 14:44:14 +00:00
Saurav Panda e62fc5242b Merge branch 'main' into fix/add-prohibited-domains-to-browser-session 2025-12-18 15:56:24 -08:00
Saurav Panda 88420e4fcd Merge branch 'main' into 3780-bug-environment-variables-completely-invalid-on-wsl2 2025-12-17 17:48:25 -08:00
Saurav Panda 556d1bc022 added BROWSER_USE_DISABLE_EXTENSIONS env var to disable extension 2025-12-17 17:31:46 -08:00
Steven Beverly 97ce4a85b3 Fix glob pattern for Playwright browser paths
playwright 1.57.0 installs chromium to $playwright_path/chromium-*/chrome-linux64/, causing the existing paths to fail to find the browser. globing chrome-linux* will allow watchdog to find playwright installed 32-bit and 64-bit chromium.
2025-12-16 21:40:16 -07:00
SK Akram 557b0c016e fix: expose prohibited_domains in BrowserSession 2025-12-16 07:25:35 +00:00
SK Akram 948f51b4db fix: prevent unnecessary blank tab creation when closing background tabs 2025-12-15 05:30:39 +00:00
Gregor Žunič 1b75166122 Merge branch 'main' into feature/skills-integration 2025-12-09 16:48:11 -08:00
Gregor Žunič b1e4d6e686 primitive skills impl (with cookies) 2025-12-08 18:07:00 -08:00
mertunsall 2e3aed3045 faster scroll 2025-12-07 23:17:24 -08:00
mertunsall 0db058e41b Merge branch 'main' into mert/trytofixmain 2025-11-29 13:16:49 -08:00
mertunsall 3fe94db8f2 try to fix stuff 2025-11-29 13:16:14 -08:00
Mert Unsal a742645416 Revert "Improve demo mode" 2025-11-29 13:09:20 -08:00
Mert Unsal 02cf38e864 Revert "allowing MUCH MORE with coordinates" 2025-11-28 04:00:22 -08:00
mertunsall 46cb1a0ae1 allowing MUCH MORE with coordinates 2025-11-27 14:48:23 -08:00
mertunsall c4bb681058 now newlines are executed well with send keys 2025-11-26 18:04:56 -08:00
Mert Unsal a048d97eab Merge branch 'main' into attempt-fix-real-browser 2025-11-26 13:22:22 -08:00
Mert Unsal bc332c2cf5 Merge branch 'main' into fix/temp-dir-cleanup-bug 2025-11-26 12:49:43 -08:00
Mert Unsal ca11fbb80e Merge branch 'main' into main 2025-11-26 12:49:07 -08:00
Mert Unsal 4a7334ae77 Merge branch 'main' into fix/temp-dir-cleanup-bug 2025-11-26 12:45:53 -08:00
mertunsall 7e98622594 Remove wrong log{ 2025-11-26 12:40:47 -08:00
Mert Unsal ca2bed58fe Merge branch 'main' into main 2025-11-26 12:36:02 -08:00
Mert Unsal cb21a1b70e Merge branch 'main' into mert/fix_screenshot_bug 2025-11-26 12:32:47 -08:00
mertunsall ce3d222f2a safety checks 2025-11-26 12:32:15 -08:00
mertunsall d7600603a2 dont change agent focus outside? 2025-11-26 12:25:40 -08:00
Mert Unsal 89990d360d Merge branch 'main' into main 2025-11-26 11:02:10 -08:00
Mert Unsal 885ec7cc6f Merge branch 'main' into mert/fix_more 2025-11-26 10:33:39 -08:00
mertunsall ad1c9b070e fix 2025-11-26 10:33:06 -08:00
Mert Unsal 81fe5c0573 Merge branch 'main' into kalil0321/demo-mode 2025-11-26 10:28:04 -08:00
Cursor Agent 717845c4a7 Increase ScreenshotEvent timeout to 15 seconds
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-11-26 17:29:29 +00:00
tomerwave 00462f9282 fix: use default_factory for event_timeout to allow runtime env var configuration 2025-11-26 10:20:56 +02:00
mertunsall b2c56f63c7 better 2025-11-24 12:37:57 -08:00
mertunsall 0f315be2bd Small fix 2025-11-24 12:26:01 -08:00
Cursor Agent 36b2b93d9b Replace broken mouse click with ClickCoordinateEvent
- Add ClickCoordinateEvent to handle coordinate-based clicking via CDP
- Replace broken page.mouse.click() with CDP Input.dispatchMouseEvent
- Add safety checks for file inputs, select elements, and print dialogs
- Add get_dom_element_at_coordinates() to BrowserSession for element detection
- Add force parameter to ClickElementAction to optionally skip safety checks
- Update _click_by_coordinate to dispatch ClickCoordinateEvent instead of using mouse

This fixes coordinate clicking functionality by using CDP directly instead of
the broken Actor mouse object, matching the implementation from mert/everything_coordinates.
2025-11-24 19:55:48 +00:00
Mert Unsal 1ed439156c Merge branch 'main' into mert/fix_allowed_domains 2025-11-24 11:22:53 -08:00
mertunsall 375bc6a283 fix 2025-11-24 11:22:24 -08:00
Shubham Singh 66f2da3abc Merge branch 'main' into fix/3587-cdp-url-with-query-params 2025-11-23 19:27:10 +05:30
mertunsall a396927435 Fix scroll action 2025-11-22 21:27:01 -08:00
Shubham Singh 652e94ed82 Merge branch 'main' into fix/3587-cdp-url-with-query-params 2025-11-22 19:19:58 +05:30
shubham-021 b03d450c70 fix/linting_issue 2025-11-22 19:19:37 +05:30
shubham-021 73c294f7a3 fix/cdp_url_parsing 2025-11-22 18:47:36 +05:30
kalil0321 bdc8fb08ef Merge branch 'main' into kalil0321/demo-mode 2025-11-21 14:54:32 +01:00
Magnus Müller d301f629fd Merge main into fix-framework-events 2025-11-20 23:09:23 -08:00
Pyry Takala 8bb61d906a Fix: Preserve in-use temporary user_data_dir during browser launch
Previously, when browser launch succeeded after retry using a temporary
directory, the code immediately deleted ALL temporary directories including
the one actively being used by the running browser process. This caused
browser crashes and data corruption when Chrome tried to write to the
deleted user_data_dir during normal operation.

The fix:
- Only clean up unused temporary directories after successful launch
- Preserve the currently used temporary directory until browser cleanup
- Update _temp_dirs_to_cleanup to track only the in-use directory for
  proper cleanup during BrowserKillEvent
2025-11-21 02:39:10 +00:00
kalil0321 50bafbd9aa Change log level from info to debug for session data clearing and browser session reset messages 2025-11-18 18:52:43 +01:00
kalil0321 574b9e3472 Address cubic issue 2025-11-18 18:49:04 +01:00
kalil0321 1de03304e1 Address cubic 2025-11-18 18:25:38 +01:00
kalil0321 85a866e700 Fix some UI inconsistencies 2025-11-18 17:59:23 +01:00
kalil0321 7160f5cf1b Add demo panel script generator and update profile for demo mode display 2025-11-18 17:30:52 +01:00