Class FluentWaitPageConditions

java.lang.Object
io.fluentlenium.core.wait.BaseWaitConditions
io.fluentlenium.core.wait.FluentWaitPageConditions

public class FluentWaitPageConditions extends BaseWaitConditions
Page wait conditions
  • Constructor Details

    • 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 Details

    • 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