You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI click can't right-click, middle-click, or hold modifier keys #1630
agent-browser click only ever performs a plain left click. There is no way to open a page's context menu, middle-click a link, or hold Ctrl/Shift while clicking (for example Ctrl+click to open a link in a background tab, or Shift+click to extend a selection). The same limitation applies to dblclick.
Steps to reproduce
Open a page that shows a custom menu on right-click.
Try to trigger it: agent-browser click <selector> only left-clicks, and the command accepts no button or modifier options.
There is likewise no way to middle-click or Ctrl+click a link from the CLI.
Expected
Click commands can target the right and middle mouse buttons and hold modifier keys, matching what a real mouse can do.
Tested on Linux with the Chrome engine, current main (0.33.0).
Activity