Install any skill in seconds. Free to start, no credit card required.
Get Started Free →testdriverai/testdriver:mouse-down
Press the mouse button without releasing it
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
and 10 more in the full report
10 fixed12 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
What parameter type does ai.mouseDown() accept when called directly on the AI client instance in TestDriver SDK?
| Checked | Without skill | With skill |
|---|---|---|
| The selector parameter type is identified as string. | Missed | Passed |
The instructions your model reads when the skill loads.
The mouseDown() method presses the mouse button at an element's location without releasing it. This is useful for drag operations, custom gestures, or when you need precise control over mouse events. You can either call it on an Element instance or use it directly with a selector.
// Mouse down on an element
await element.mouseDown();
// Mouse down using a selector
await ai.mouseDown('selector');
When called on an Element, no parameters are required.
When called directly on the AI client:
| Parameter | Type | Description |
|---|---|---|
selector | string | The selector describing the element where the mouse button should be pressed |
Returns a Promise<void> that resolves when the mouse button is pressed.
// Start dragging an item
const dragItem = await ai.find('file to drag');
await dragItem.mouseDown();
// Move to drop target
test cases passed, vs 12 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.