Class HtmlUnitTimeouts

  • All Implemented Interfaces:
    org.openqa.selenium.WebDriver.Timeouts

    public class HtmlUnitTimeouts
    extends Object
    implements org.openqa.selenium.WebDriver.Timeouts
    Class for timeouts managing.
    Author:
    Martin Bartoš, Ronald Brill
    • Constructor Detail

      • HtmlUnitTimeouts

        public HtmlUnitTimeouts()
      • HtmlUnitTimeouts

        public HtmlUnitTimeouts​(WebClient webClient)
    • Method Detail

      • getImplicitWaitTimeout

        public Duration getImplicitWaitTimeout()
        Specified by:
        getImplicitWaitTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • implicitlyWait

        @Deprecated
        public org.openqa.selenium.WebDriver.Timeouts implicitlyWait​(long time,
                                                                     TimeUnit unit)
        Deprecated.
        Specified by:
        implicitlyWait in interface org.openqa.selenium.WebDriver.Timeouts
      • implicitlyWait

        public org.openqa.selenium.WebDriver.Timeouts implicitlyWait​(Duration duration)
        Specified by:
        implicitlyWait in interface org.openqa.selenium.WebDriver.Timeouts
      • scriptTimeout

        public org.openqa.selenium.WebDriver.Timeouts scriptTimeout​(Duration duration)
        Specified by:
        scriptTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • setScriptTimeout

        @Deprecated
        public org.openqa.selenium.WebDriver.Timeouts setScriptTimeout​(long time,
                                                                       TimeUnit unit)
        Deprecated.
        Specified by:
        setScriptTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • getScriptTimeout

        public Duration getScriptTimeout()
        Specified by:
        getScriptTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • pageLoadTimeout

        @Deprecated
        public org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout​(long time,
                                                                      TimeUnit unit)
        Deprecated.
        Specified by:
        pageLoadTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • pageLoadTimeout

        public org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout​(Duration duration)
        Specified by:
        pageLoadTimeout in interface org.openqa.selenium.WebDriver.Timeouts
      • getPageLoadTimeout

        public Duration getPageLoadTimeout()
        Specified by:
        getPageLoadTimeout in interface org.openqa.selenium.WebDriver.Timeouts