
org.fluentlenium.assertj.custom.PageAssert Maven / Gradle / Ivy
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy