Definition
Fields
button
MouseButton
Mouse button to use for the click. Defaults to LEFT.
clickCount
Int
Number of times to click the element. Defaults to 1.
delay
Int
Delay in milliseconds between mousedown and mouseup events. Defaults to 0.
force
Boolean
Whether to bypass normal actionability checks. Defaults to false.
modifiers
[ModifierKey]
Array of modifier keys (e.g., SHIFT, CONTROL) to press during the click.
Example: [SHIFT, CONTROL]
position
PointOptions
Specific point, relative to the element’s top-left corner, to click.
Example: { x: 10, y: 10 }