Shift click a range and Cmd click several items from an AI agent
In Playwright a shift click is click({ modifiers: ['Shift'] }), and in most apps that is enough. Some lists and galleries select a range only for real input, and then the scripted click lands but nothing is selected. With Qiksy Bridge an agent calls qa_real_mouse with modifiers shift, cmd, ctrl or alt: the operating system holds the key and presses the mouse, in your own Chrome, on the element the agent names.
Free. Then run npx qiksy-mcp init in your project.
What you get
- modifiers: shift for a range, cmd or ctrl for several separate items, alt where an app wants it.
- Target by accessible name, snapshot ref or CSS selector, never by screen coordinates worked out by hand.
- Page zoom, tab strip and window position are taken into account.
- The reply lists what changed on the page, so the agent sees whether the selection grew.
- Verified on macOS; Windows and Linux are not yet checked on a stand.
Questions and answers
Should I always use the real mouse?
No. Try the normal click first: it is quieter and does not move your cursor. The real mouse is for pages that ignore it.
Does it need permission?
On macOS the app running your agent needs Accessibility permission, asked once by the system. In the extension it needs Agent control, like any click.
Does it work in a background tab?
The bridge brings the window to the front first, because the operating system presses whatever is on top.