Inputs

☐ Description (Optional)

A brief note explaining what this check is for. This is not an AI prompt.

Good Example: “Check if login button exists before clicking”

Bad Example: “Look for something on the page”

Why it’s bad? Too vague, doesn’t specify what element to look for

☐ Element Type (Required)

Choose how to identify the element:

CSS Selector

Use standard CSS selectors (e.g., .button, #login-form)

XPath

Use XPath expressions (e.g., //button[text()='Submit'])

☐ Retry Settings (Required)

Try For

Number of retries before failure (Default: 3)

Timeout

Milliseconds to wait between retries (Default: 500ms)

☐ Error Handling (Optional)

Choose whether to throw an error if element isn’t found:

  • Disabled (Default): Continue automation
  • Enabled: Stop execution with error

Outputs

✓ Element Found Path

If the element is found within the specified retry attempts:

  • Automation continues down this path
  • Use for actions that require the element’s presence
  • Example: Click the login button after confirming it exists

✗ Element Not Found Path

If the element is not found after all retry attempts:

  • With Error Handling Disabled: Automation continues down this path
  • With Error Handling Enabled: Automation stops with error
  • Use for alternative flows or fallback actions
  • Example: Show “Try Later” message if product is out of stock

Configure both paths to handle all scenarios gracefully. The Element Not Found path is especially useful for implementing fallback behaviors or alternative workflows.

Usage Examples

1. Login Button Check

Element TypeCSS Selector
Selector#login-button
SettingsTry For: 3, Timeout: 500ms
Error✓ Enabled
Ensures login button is visible before clicking

2. Product Price Verification

Element TypeXPath
Selector//span[@class=‘product-price’]
SettingsTry For: 2, Timeout: 1000ms
Error✗ Disabled
Checks for price element without stopping automation if missing

3. CAPTCHA Detection

Element TypeCSS Selector
Selector#captcha-box
SettingsTry For: 1, Timeout: 500ms
Error✓ Enabled
Stops automation if CAPTCHA is detected

Notes

  • Use descriptive selectors to uniquely identify elements
  • Adjust retry settings based on page load times
  • Enable error handling for critical elements