public interface FindsByImage<T extends WebElement> extends FindsByFluentSelector<T>
Modifier and Type | Method and Description |
---|---|
default T |
findElementByImage(java.lang.String b64Template)
Performs the lookup for a single element by matching its image template
to the current full screen shot.
|
default java.util.List<T> |
findElementsByImage(java.lang.String b64Template)
Performs the lookup for a list of elements by matching them to image template
in the current full screen shot.
|
findElement, findElements
default T findElementByImage(java.lang.String b64Template)
HasSettings.setSetting(Setting, Object)
.b64Template
- base64-encoded template image string. Supported image formats are the same
as for OpenCV library.org.openqa.selenium.NoSuchElementException
- when no element is founddefault java.util.List<T> findElementsByImage(java.lang.String b64Template)
HasSettings.setSetting(Setting, Object)
.b64Template
- base64-encoded template image string. Supported image formats are the same
as for OpenCV library.