org.fluentlenium.assertj.custom.ElementStateAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluentlenium-assertj Show documentation
Show all versions of fluentlenium-assertj Show documentation
AssertJ Extension for FluentLenium
package org.fluentlenium.assertj.custom;
public interface ElementStateAssert {
/**
* check if the element is clickable
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isClickable();
/**
* check if the element is not clickable
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isNotClickable();
/**
* check if the element is displayed
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isDisplayed();
/**
* check if the element is not displayed
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isNotDisplayed();
/**
* check if the element is enabled
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isEnabled();
/**
* check if the element is not enabled
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isNotEnabled();
/**
* check if the element is selected
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isSelected();
/**
* check if the element is not selected
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isNotSelected();
/**
* check if the element is present
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isPresent();
/**
* check if the element is not present
*
* @return {@code this} assertion object.
*/
FluentWebElementAssert isNotPresent();
}