If

Runs commands based on conditions

Conditions

See Conditions page

Use cases

If you're looping through a collection of elements and want to click on a button that only exists for some elements, you can use If with the "Element is visible" type to only run the Click command if the button exists.

Last updated

Was this helpful?