ByAll
@Deprecated
public class ByAll
extends org.openqa.selenium.support.pagefactory.ByAll
driver.findElements(new ByAll(by1, by2))will find all elements that match by1 and then all elements that match by2. This means that the list of elements returned may not be in document order.
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, org.openqa.selenium.By.Remotable
Constructor and Description |
---|
ByAll(org.openqa.selenium.By[] bys)
Deprecated.
Finds all elements that matches any of the locators in sequence.
|
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context)
Deprecated.
|