| Package | Description |
|---|---|
| de.ppi.selenium.assertj |
Some useful Assertions.
|
| Modifier and Type | Method and Description |
|---|---|
ElementAssert |
SeleniumSoftAssertions.assertThat(Element actual)
Creates a new instance of
. |
static ElementAssert |
SeleniumAssertions.assertThat(Element actual)
Return an
ElementAssert. |
ElementAssert |
ElementAssert.existInDom()
check if the element exist in the dom.
|
ElementAssert |
ElementAssert.hasClass(java.lang.String classToFind)
check if the element has the class.
|
ElementAssert |
ElementAssert.hasId(java.lang.String id)
check if the element has the given id.
|
ElementAssert |
ElementAssert.hasNotClass(java.lang.String classToFind)
check if the element has the not the class.
|
ElementAssert |
ElementAssert.hasNotText(java.lang.String textToFind)
check if the element does not contain the text.
|
ElementAssert |
ElementAssert.hasText(java.lang.String textToFind)
check if the element contains the text.
|
ElementAssert |
ElementAssert.hasTextMatching(java.lang.String regexToBeMatched)
check if the element matches the given regex.
|
ElementAssert |
ElementAssert.isDisplayed()
check if the element is displayed.
|
ElementAssert |
ElementAssert.isEnabled()
check if the element is enabled.
|
ElementAssert |
ElementAssert.isNotDisplayed()
check if the element is not displayed.
|
ElementAssert |
ElementAssert.isNotEnabled()
check if the element is not enabled.
|
ElementAssert |
ElementAssert.isNotSelected()
check if the element is not selected.
|
ElementAssert |
ElementAssert.isSelected()
check if the element is selected.
|
ElementAssert |
ElementAssert.notExistInDom()
check if the element exist not in the dom.
|
Copyright © 2017 PPI AG. All rights reserved.