Class AbstractPageObject

    • Field Detail

      • driver

        protected org.openqa.selenium.WebDriver driver
      • DEFAULT_TIMEOUT

        protected static long DEFAULT_TIMEOUT
    • Constructor Detail

      • AbstractPageObject

        public AbstractPageObject​(org.openqa.selenium.WebDriver driver)
    • Method Detail

      • getDriver

        public org.openqa.selenium.WebDriver getDriver()
      • getJSWaiter

        public JSWaiter getJSWaiter()
      • findBy

        public org.openqa.selenium.WebElement findBy​(org.openqa.selenium.By by,
                                                     long timeout)
      • findBy

        public org.openqa.selenium.WebElement findBy​(org.openqa.selenium.By by)
      • findAllBy

        public List<org.openqa.selenium.WebElement> findAllBy​(org.openqa.selenium.By by,
                                                              long timeout)
      • findAllBy

        public List<org.openqa.selenium.WebElement> findAllBy​(org.openqa.selenium.By by)
      • safeWait

        public void safeWait​(Supplier<Boolean> condition,
                             long timeout)
      • safeJavascriptClick

        public void safeJavascriptClick​(org.openqa.selenium.By by)
      • safeJavascriptClick

        public void safeJavascriptClick​(org.openqa.selenium.By by,
                                        long timeout)
      • safeClick

        public void safeClick​(org.openqa.selenium.By by)
      • safeClick

        public void safeClick​(org.openqa.selenium.By by,
                              long timeout)
      • safeSendKeys

        public void safeSendKeys​(org.openqa.selenium.By by,
                                 String keys,
                                 long timeout)
      • safeSendKeys

        public void safeSendKeys​(org.openqa.selenium.By by,
                                 String keys)
      • doWithoutImplicitWait

        public <T> T doWithoutImplicitWait​(Callable<T> runnable)
      • doWithoutImplicitWait

        public void doWithoutImplicitWait​(Runnable runnable)