Lupa API Reference / commands / MousePressOptions
Interface: MousePressOptions
Defined in: src/commands/mouse.ts:72
Options for pressing and holding a mouse button.
Properties
button?
optionalbutton?:"right"|"left"|"middle"
Defined in: src/commands/mouse.ts:76
The mouse button to press. Defaults to left.
delay?
optionaldelay?:number
Defined in: src/commands/mouse.ts:86
Duration in milliseconds to hold the mouse button down before releasing. Defaults to 0.
key?
optionalkey?:string
Defined in: src/commands/mouse.ts:81
Optional keyboard key modifier to press down (e.g. 'Shift', 'Control', 'Alt', 'Meta') during the operation.