Class FluentWaitPageConditions

    • Constructor Detail

      • FluentWaitPageConditions

        protected FluentWaitPageConditions​(FluentWait wait,
                                           org.openqa.selenium.WebDriver driver)
        Creates a new page wait conditions.
        Parameters:
        wait - underlying wait
        driver - driver
      • FluentWaitPageConditions

        protected FluentWaitPageConditions​(FluentWait wait,
                                           org.openqa.selenium.WebDriver driver,
                                           FluentPage page)
        Creates a new page wait conditions.
        Parameters:
        wait - underlying wait
        driver - driver
        page - page to wait for
    • Method Detail

      • isLoaded

        public boolean isLoaded()
        Check if the current browser page is loaded.

        Requires javascript to be enabled. Throw an UnsupportedOperationException if not.

        Returns:
        true
      • isAt

        public boolean isAt()
        Check if browser is on the page.
        Returns:
        true