Class PageAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<PageAssert, FluentPage>
io.fluentlenium.assertj.custom.PageAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<PageAssert, FluentPage>, org.assertj.core.api.Descriptable<PageAssert>, org.assertj.core.api.ExtensionPoints<PageAssert, FluentPage>, PageStateAssert

public class PageAssert extends org.assertj.core.api.AbstractAssert<PageAssert,FluentPage> implements PageStateAssert
Default implementation for asserting FluentPage objects.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Check if current page has given FluentWebElement present.
    Check if current page has given FluentWebElement displayed.
    hasElements (FluentList<? extends FluentWebElement> fluentList)
    Check if current page has at least one element of given FluentList present.
    Check if current page has element defined by its FindBy, FindBys or FindAll class level annotation.
    Check if current page has url defined by its PageUrl annotation.
    Check if current page has page source containing given String.
    hasTitle (String title)
    Check if current page has given title.
    hasUrl (String url)
    Check if current page has given url string.
    isAt()
    Deprecated.

    Methods inherited from class org.assertj.core.api.AbstractAssert

    areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs