All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fluentlenium.assertj.custom.PageAssert Maven / Gradle / Ivy

There is a newer version: 5.0.4
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy