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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with the browser.Robin.SeleniumBrowser contextYes
ElementElement to be inspected. Required.Robin.WebElement
Yes
TimeoutWait 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

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "Open Browser" action. 
  3. Set the parameters of the "Wait for item to disappear" action. 
  4. 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. 

  • Нет меток