Below are desktop actions that can be performed by the Desktop class.
click(x, y, click_type='left')
"left"
, "middle"
, or "right"
).None
scroll(x, y, scroll_x=0, scroll_y=0)
(x, y)
.None
keypress(keys: list[str])
["CTRL", "f"]
for Ctrl+F.None
type_text(text: str)
None
get_screenshot()
goto(url)
https://example.com
).None
get_page_html(query)
'return document.documentElement.outerHTML;'
, which returns the full DOM HTML.