The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
Every page
object has its own Mouse, accessible with page.mouse.
x
<float>y
<float>button
<"left"|"right"|"middle"> Defaults to left
.click_count
<int> defaults to 1. See UIEvent.detail.delay
<float> Time to wait between mousedown
and mouseup
in milliseconds. Defaults to 0.Shortcut for mouse.move(x, y, **kwargs), mouse.down(**kwargs), mouse.up(**kwargs).
mouse.dblclick(x, y, **kwargs)#x
<float>y
<float>button
<"left"|"right"|"middle"> Defaults to left
.delay
<float> Time to wait between mousedown
and mouseup
in milliseconds. Defaults to 0.Shortcut for mouse.move(x, y, **kwargs), mouse.down(**kwargs), mouse.up(**kwargs), mouse.down(**kwargs) and mouse.up(**kwargs).
mouse.down(**kwargs)#button
<"left"|"right"|"middle"> Defaults to left
.click_count
<int> defaults to 1. See UIEvent.detail.Dispatches a mousedown
event.
Dispatches a mousemove
event.
button
<"left"|"right"|"middle"> Defaults to left
.click_count
<int> defaults to 1. See UIEvent.detail.Dispatches a mouseup
event.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4