mirror of
https://github.com/browser-use/browser-use
synced 2026-05-13 17:56:35 +02:00
- 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.