Skip navigation links

Package hu.ibello.check

This package contains interfaces what are capable to query information about WebElement instances.

See: Description

Package hu.ibello.check Description

This package contains interfaces what are capable to query information about WebElement instances.

During each query the program waits until a the element is accessible in the DOM. If this does not happen until a timeout runs out, an exception will be thrown.

The timeout cannot be specified directly with a numeric value. All timeouts should be defined in the ibello configuration, with "ibello.timeout." prefix. The unit should be seconds. During the expectation, only the key of the timeout can be specified - it is the other half of the configuration property, after the "ibello.timeout." prefix. With this rule we can manage our timeout values in a more secure and general way, and can change them in different test execution environment easily.

Implementations of the interfaces can be accesses through page objects, with the PageObject#checkThat(WebElement) and PageObject#get(WebElement) methods.

Examples (in a page object):

 WebElement inputField = ...;
 
 String value = get(inputField).value();
 boolean displayed = checkThat(inputField).isDisplayed();
 
Author:
Kornél Simon
Skip navigation links

Created by Kornél Simon, 2022