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

target.type
Sets value on select element

target.select
Focuses the element

target.focus
Emulates mouse click on the element

target.click
Resets the input or form element

target.reset
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

target.upload
Since ver. 3.2.6 file path supports template expressions. So you can use e.g. environment variables to build the path.
Alternatively you can specify with in advanced options file size and name and it will be generated and attached to the file input element.

target.upload advanced options
Taps the element

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

target.scroll
Scrolls element into view.

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

target.hover
Toggles checkbox/radio state

target.checkBox
Toggles the specified class value (adds or removes)

target.toggleClass

target.setAttribute
Takes a screenshot of the target element.

target.screenshot

Selecting targets to highlight on the screenshot
Waits for an element matching a provided target to appear in page.

target.waitForTarget
Last modified 2yr ago