Execute automation actions on a session
type action)keypress action)go_to_url action)| Type | Description | Parameters |
|---|---|---|
go_to_url | Navigate to URL | url |
click | Click at coordinates | x, y |
double_click | Double-click | x, y |
right_click | Right-click | x, y |
drag | Drag from A to B | x1, y1, x2, y2 |
type | Type text | text |
keypress | Press keys | keys |
key_down | Hold key | key |
key_up | Release key | key |
mouse_down | Press mouse | x, y |
mouse_up | Release mouse | x, y |
scroll | Scroll viewport | dx, dy, x, y |
screenshot | Capture screen | base64 |
get_html_content | Get page HTML | auto_detect_encoding |
set_viewport | Set viewport size | width, height, scale_factor |
wait | Wait duration | ms |
change_proxy | Change proxy | proxy_url |
success or errorinclude_context=true)| Endpoint | Method |
|---|---|
/computers/{id}/navigate | POST |
/computers/{id}/click | POST |
/computers/{id}/type | POST |
/computers/{id}/screenshot | POST |
/computers/{id}/scroll | POST |
/computers/{id}/viewport | POST |
/computers/{id}/html | POST |
/computers/{id}/keepalive | POST |