public class ByChained
extends org.openqa.selenium.support.pagefactory.ByChained
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 |
---|
ByChained(org.openqa.selenium.By[] bys)
Finds elements that matches each of the locators in sequence.
|
Modifier and Type | Method and Description |
---|---|
WebElement |
findElement(SearchContext context) |
findElements, toString
public ByChained(org.openqa.selenium.By[] bys)
bys
- is a set of By
which forms the chain of the searching.public WebElement findElement(SearchContext context)
findElement
in class org.openqa.selenium.support.pagefactory.ByChained