Skip to content

Commit ab325b1

Browse files
committed
extracted findOneOrMoreElements
1 parent e36756e commit ab325b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/net/itarray/automotion/validation/UISnapshot.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ public UIElementValidator findElement(WebElement webElement, String readableName
5252
}
5353

5454
public ChunkUIElementValidator findElements(List<WebElement> webElements) {
55+
return findOneOrMoreElements(webElements);
56+
}
57+
58+
public ChunkUIElementValidator findOneOrMoreElements(List<WebElement> webElements) {
5559
return new ResponsiveUIChunkValidatorBase(this, webElements, false);
5660
}
5761

0 commit comments

Comments
 (0)