Sandbox
Python
get_video_stream_url
Python
take_screenshot
Python
take_screenshot
Python
take_screenshot
Python
format: The format of the screenshot. Can be ‘bytes’, ‘blob’, or ‘stream’.
left_click
Python
double_click
Python
right_click
Python
middle_click
Python
scroll
Python
amount: The amount to scroll.
move_mouse
Python
x: The x coordinate.y: The y coordinate.
get_cursor_position
Python
get_screen_size
Python
write
Python
text: The text to write.
press
Python
key: The key to press (e.g. “enter”, “space”, “backspace”, etc.).
hotkey
Python
keys: The keys to press (e.g.hotkey("ctrl", "c")will press Ctrl+C).
open
Python
file_or_url: The file or URL to open.