Class JSWaiter


  • public class JSWaiter
    extends java.lang.Object
    • Constructor Detail

      • JSWaiter

        public JSWaiter​(org.openqa.selenium.WebDriver driver)
    • 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 elements
        expected - : number of elements expected
      • waitForAnimationToComplete

        public void waitForAnimationToComplete​(java.lang.String css)
        Waits for the elements animation to be completed
        Parameters:
        css -