Target Commands
Last updated
Focuses the element, and then sends keyboard events for each character in the text

Sets value on select element

Focuses the element

Emulates mouse click on the element

Resets the input or form element

Sets the value of a file input. Note that the target element must be INPUT of FILE type. It is also recommended to emulate click on the target (or clickable element calling the file browser) before going with this command

Taps the element

Sets the number of pixels that an element's content is scrolled horizontally/vertically.

Scrolls element into view if needed, and then hovers over the center of the element

Toggles checkbox/radio state

Toggles the specified class value (adds or removes)

Sets the value of an attribute on a target

Takes a screenshot of the target element.

Last updated