Package io.fluentlenium.core.wait
Class FluentWaitPageConditions
java.lang.Object
io.fluentlenium.core.wait.BaseWaitConditions
io.fluentlenium.core.wait.FluentWaitPageConditions
Page wait conditions
-
Constructor Summary
ModifierConstructorDescriptionprotected
FluentWaitPageConditions
(FluentWait wait, org.openqa.selenium.WebDriver driver) Creates a new page wait conditions.protected
FluentWaitPageConditions
(FluentWait wait, org.openqa.selenium.WebDriver driver, FluentPage page) Creates a new page wait conditions. -
Method Summary
Methods inherited from class io.fluentlenium.core.wait.BaseWaitConditions
messageCustomizer, until, until, until
-
Constructor Details
-
FluentWaitPageConditions
Creates a new page wait conditions.- Parameters:
wait
- underlying waitdriver
- driver
-
FluentWaitPageConditions
protected FluentWaitPageConditions(FluentWait wait, org.openqa.selenium.WebDriver driver, FluentPage page) Creates a new page wait conditions.- Parameters:
wait
- underlying waitdriver
- driverpage
- 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
-