waitForElementPresent (UI Automation - Synchronization)
Compatible with:
- Purpose
- This command is used to wait for a specific element in the DOM. If the element is not present in the DOM, the command fails but continues with the execution without any halt. By default, when the element is not present at the DOM level, the execution of the instruction would wait for 120 seconds to move the execution to the next instruction.
- Syntax
- waitForElementPresent(locator)
- Target
- locator - an element locator
- Value
- N/A
- Return Value
- N/A