Skip to main content

Mouse Input



Double Click

await element.mouse.doubleClick();

Triple Click

A triple click is useful for simulating how a user might click three times on an input element to select all of the text within it.

await element.mouse.tripleClick();


On some devices, a longpress is used to open up some contextual dialog, change the element into a moveable state, or other things.

await element.mouse.longPress();


await element.mouse.hover();

Select Text

Use the mouse to highlight all text within an input box.

await element.mouse.selectText();