@ Conditioned @ Lorsque ( "Je patiente la disparition de '(.*)-(.*)' avec un timeout de '(.*)' secondes[\\.|\\?]" ) @ Then ( "I wait staleness of '(.*)-(.*)' with timeout of '(.*)' seconds[\\.|\\?]" ) public void waitStalenessOf ( String page , String element , int time , List < GherkinStepCondition > conditions ) throws TechnicalException { final WebElement we = Utilities . findElement ( Page . getInstance ( page ) . getPageElementByKey ( ' ' + element ) ) ; Context . waitUntil ( ExpectedConditions . stalenessOf ( we ) , time ) ; }
Waits staleness of element with timeout of x seconds .