Class PageAssert

    • Field Summary

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

        actual, info, myself, throwUnsupportedExceptionOnEquals
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      PageAssert hasElement​(FluentWebElement element)
      Check if current page has given FluentWebElement present.
      PageAssert hasElementDisplayed​(FluentWebElement element)
      Check if current page has given FluentWebElement displayed.
      PageAssert hasElements​(FluentList<? extends FluentWebElement> fluentList)
      Check if current page has at least one element of given FluentList present.
      PageAssert hasExpectedElements()
      Check if current page has element defined by its FindBy, FindBys or FindAll class level annotation.
      PageAssert hasExpectedUrl()
      Check if current page has url defined by its PageUrl annotation.
      PageAssert hasPageSourceContaining​(String value)
      Check if current page has page source containing given String.
      PageAssert hasTitle​(String title)
      Check if current page has given title.
      PageAssert hasUrl​(String url)
      Check if current page has given url string.
      PageAssert isAt()
      Deprecated.
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        as, as, asInstanceOf, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError