Class JSWaiter
- java.lang.Object
-
- step.basic.web.selenium.keywords.helper.JSWaiter
-
public class JSWaiter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JSWaiter(org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
waitAllRequest()
void
waitForAnimationToComplete(java.lang.String css)
Waits for the elements animation to be completedvoid
waitForElementAreComplete(org.openqa.selenium.By by, int expected)
Method to make sure a specific element has loaded on the pagevoid
waitUntilAngular5Ready()
void
waitUntilAngularReady()
-
-
-
Method Detail
-
waitUntilAngularReady
public void waitUntilAngularReady()
-
waitUntilAngular5Ready
public void waitUntilAngular5Ready()
-
waitAllRequest
public void waitAllRequest()
-
waitForElementAreComplete
public void waitForElementAreComplete(org.openqa.selenium.By by, int expected)
Method to make sure a specific element has loaded on the page- Parameters:
by
- : the elementsexpected
- : number of elements expected
-
waitForAnimationToComplete
public void waitForAnimationToComplete(java.lang.String css)
Waits for the elements animation to be completed- Parameters:
css
-
-
-