Class WaitForPageToLoad

    • Constructor Summary

      Constructors 
      Constructor Description
      WaitForPageToLoad​(java.lang.Runnable sleepUntil)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Wait getLengthCheckingWait​(org.openqa.selenium.WebDriver driver)  
      protected java.lang.Void handleSeleneseCommand​(org.openqa.selenium.WebDriver driver, java.lang.String timeout, java.lang.String ignored)  
      void setTimeToWait​(int timeToWait)
      Overrides the default time to wait (in milliseconds) after a page has finished loading.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WaitForPageToLoad

        public WaitForPageToLoad​(java.lang.Runnable sleepUntil)
    • Method Detail

      • setTimeToWait

        public void setTimeToWait​(int timeToWait)
        Overrides the default time to wait (in milliseconds) after a page has finished loading.
        Parameters:
        timeToWait - the time to wait, in milliseconds, after the page has finished loading
      • handleSeleneseCommand

        protected java.lang.Void handleSeleneseCommand​(org.openqa.selenium.WebDriver driver,
                                                       java.lang.String timeout,
                                                       java.lang.String ignored)
        Specified by:
        handleSeleneseCommand in class SeleneseCommand<java.lang.Void>
      • getLengthCheckingWait

        public Wait getLengthCheckingWait​(org.openqa.selenium.WebDriver driver)