public class ByAll
extends org.openqa.selenium.support.pagefactory.ByAll
org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath
Constructor and Description |
---|
ByAll(org.openqa.selenium.By[] bys)
Finds all elements that matches any of the locators in sequence.
|
Modifier and Type | Method and Description |
---|---|
WebElement |
findElement(SearchContext context) |
public ByAll(org.openqa.selenium.By[] bys)
bys
- is a set of By
which forms the all possible searching.public WebElement findElement(SearchContext context)
findElement
in class org.openqa.selenium.support.pagefactory.ByAll