🚀 Feature Request
The current browser_mouse_click_xy tool in the MCP browser mouse API is limited to basic left-clicks at coordinates.
This restricts its use in advanced automation scenarios, such as:
- Right-clicking for context menus on non-element areas (e.g., canvases or overlays).
- Double/triple-clicking for selecting words or triggering custom events.
- Simulating realistic user delays for slower interactions.
Example
Right click
await page.mouse.click(450, 300, { button: 'right'});
Double click
await page.mouse.click(450, 300, { button: 'left', clickCount: 2, delay: 100 });
Motivation
Aligning it with Playwright's full page.mouse.click(x, y, options) API would make low-level coordinate-based interactions more versatile, especially in vision-based tools where element refs aren't available (e.g., after browser_snapshot).
Without this, users must chain separate browser_mouse_down, browser_mouse_up, and browser_mouse_move calls, which is verbose and error-prone.