mouse.click
Shortcut for mouse.move(), mouse.down(), mouse.up().Simulates a mouse click at the specified coordinates.
X coordinate relative to the main frame viewport in CSS pixels.
Y coordinate relative to the main frame viewport in CSS pixels.
Click options.
mouse.dblclick
Shortcut for mouse.move(), mouse.down(), mouse.up(), mouse.down(), mouse.up().Simulates a double mouse click at the specified coordinates.
X coordinate relative to the main frame viewport in CSS pixels.
Y coordinate relative to the main frame viewport in CSS pixels.
Double-click options.
mouse.down
Dispatches a mousedown event. Upstream docsMouse down options.
mouse.up
Dispatches a mouseup event. Upstream docsMouse up options.
mouse.move
Dispatches a mousemove event.The steps option controls the number of intermediate mousemove events to generate.
X coordinate relative to the main frame viewport in CSS pixels.
Y coordinate relative to the main frame viewport in CSS pixels.
Mouse move options.
mouse.wheel
Dispatches a wheel event.This method is usually used to manually scroll the page.
Wheel events may cause scrolling if they are not handled, and this method does not wait for the scrolling to finish before returning.
Pixels to scroll horizontally.
Pixels to scroll vertically.

