public class WebbrowserAssert extends org.assertj.core.api.AbstractAssert<WebbrowserAssert,WebBrowser>
WebBrowser.| Constructor and Description |
|---|
WebbrowserAssert(WebBrowser actual)
Initiates an object of type WebbrowserAssert.
|
| Modifier and Type | Method and Description |
|---|---|
WebbrowserAssert |
hasCookies(java.lang.String... searchedCookies)
Check if a cookie with the given name exists.
|
WebbrowserAssert |
hasRalativeUrlMatching(java.lang.String regexToBeMatched)
check if the relative url matches the given regex.
|
WebbrowserAssert |
hasRelativeUrl(java.lang.String relativeUrl)
Check if the browser is at the relativeURL.
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic WebbrowserAssert(WebBrowser actual)
actual - the current object.public WebbrowserAssert hasRelativeUrl(java.lang.String relativeUrl)
relativeUrl - the relative url.public WebbrowserAssert hasRalativeUrlMatching(java.lang.String regexToBeMatched)
regexToBeMatched - the text which should be found as regeexp.public WebbrowserAssert hasCookies(java.lang.String... searchedCookies)
searchedCookies - a list of cookies which should be found.Copyright © 2017 PPI AG. All rights reserved.