Waiting for missing element Version 15 (Java)
Action group: Browsers
Description
The action expects the fact that the element disappears from the page document object model (DOM)
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Context | Action context for working with the browser. | Robin.Selenium | Browser context | Yes |
Element | Element to be inspected. Required. | Robin.WebElement | Yes | |
Timeout | Wait until condition to be done (ms). The value is converted to seconds: it`s devided by 1000 and rounded up. | Robin.Numeric | No |
Special conditions of use
None.
Example of use
Task
Go to https://www.rpachallenge.com/assets/shortestPath/public/shortestpath.html and wait for the element to disappear.
Solution
Use the actions "Open Browser", "Waiting for missing element".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the "Open Browser" action.
- Set the parameters of the "Wait for item to disappear" action.
- Click on the "Start" button in the top panel. After the browser page is opened, manually refresh the page (simulating the disappearance of an element).
Result
The program robot completed successfully.
Обзор
Инструменты контента