Skip to main content

Element Exists

Description

Use this activity to check if the specified element exists on the web page.

Properties

Input

  • Element Path – Specify the XPath of the element to check for its existence on the specified web page.
  • Web Page – It specifies the webpage object of the currently opened web page.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
    note

    Catches no error if this activity is present inside the Try-Catch block and the value of this property is True.

  • Timeout – An Argument of type Timespan Specifies the activity's waiting time to run before an error occurs and aborts the workflow. By default, the Timeout value is 10 minutes.

Output

  • Result – If the element exists, the result is the boolean True.

Example

Download Example

Element Exists