org.fluentlenium.assertj.custom.PageAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluentlenium-assertj Show documentation
Show all versions of fluentlenium-assertj Show documentation
AssertJ Extension for FluentLenium
package org.fluentlenium.assertj.custom;
import org.assertj.core.api.AbstractAssert;
import org.fluentlenium.core.FluentPage;
/**
* Page assertions.
*/
public class PageAssert extends AbstractAssert {
/**
* Creates a new page assertions object.
*
* @param actual page to assert
*/
public PageAssert(FluentPage actual) {
super(actual, PageAssert.class);
}
/**
* check if it is at the current page. Call the page.isAt() methods
*
* @return page assertion object
*/
public PageAssert isAt() {
actual.isAt();
return this;
}
}