Check If Element Exists

Object to check the existence of an element with a boolean return type (true or false)

Settings

Field

Description

Title

Object Title

Object Identifier Name

Singular object name

Select Main Object

Option to select a browser opened with the "Open Browser" object

Search by

The way the element will be searched. It can be by: XPath, Name, ID, Class Name, CSS Selector or Contains

XPath

The element's xpath

Timeout

The time the robot will spend searching for the element.

If the return of the object(Object Identifier Name) is reused in the robot, it will be of type boolean, returning true or false

Example

  1. To use the object you need to configure the Open Browser object.

  2. With the "Check If Element Exists" object already in the working area, let's select the identifier for the "Open Browser" object, then pass the search information and finally the timeout.

Last updated

Was this helpful?