Skip to main content

Web Wait Until

Description

Web Wait Until pauses workflow execution until a specified condition is met on a web page element, or until the timeout expires, in a Web GUI [Classic] workflow. Use this step to synchronize your workflow with the page state — for example, waiting for an element to become visible, a specific text to appear, an alert to be present, or a URL to match an expected pattern. It supports conditions for element visibility, presence, clickability, text content, alert presence, and URL matching. An Additional Value field is available for conditions that require a comparison string, such as text or URL checks.

Configurations

Field NameDescription
Web Browser NameYou can select any one Web Browser Name from the given list. Basically, you must select the same Web Browser Name which was selected in Start Browser Step.
Expected Condition*Specify the wait condition for the element.
Delay (in milliseconds)Maximum time in milliseconds to wait for the expected condition.
Criteria*Locate element on web page.
Criteria ValueRelevant criteria value must be specified.
Additional valueSelect an additional value that is required to complete the action depending on the selected criteria. This field is available when the following criteria is selected in the Expected Condition field:
- Title contains
- Text to be present in element
- Text to be present in element value
- URL contains - URL matches
- URL to be
tip

Similarly, in Legacy Web Spy, the Additional value field is available when you select the specific options in the Expected Condition field.

*Expected Condition The following table contains the description of each condition:

Field NameDescription
XpathXpath defines the hierarchy of the tags through which you can reach to a particular element. For example
/html/body/div[1]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div[2]/div[1]/div[1]/div[1]/span/span
IdId attribute of a web element can be best way to identify an element if it is present and is going to constant and unique. There are cases however when it is either absent or its value changes every time you access the application in the browser
NameName is another attribute of a web element which can be used to identify an element.
Link TextIf a HTML page contains a hyperlink element <a href=www.google.com>Search On Google</a>, you can identify this href element by providing complete text ‘Search On Google’ as the Link value.
Partial Link textThis criterion is same as Link, just that, in this case, you can give partial string for finding a match.
Tag NameEvery HTML element has a tag associated with it. The element can be located using that tag name. For example, textbox has a tag <input>.
Class NameClass name is the css class associated with an HTML element. If there is a div element <div class=’someclass’>MyDiv</div>, you can locate it by giving class name ‘someclass’.
Css SelectorThis criterion is useful when an HTML element has multiple associated css classes. Consider an HTML element <div class="btn primary-btn submit"></div>. To identify this div element you can use Css selector as “.btn.primary-btn.submit”
Text to be present in element valueCheck if the given text is present in the element’s value.
URL containsCheck if the current URL contains a case-sensitive substring.
URL matchesCheck the current URL for a pattern.
URL to beCheck the current URL.
tip

If Expected condition is Alert present, the Criteria and Criteria value fields are disabled.