public class FasterByChained extends By
When using SearchContext.findElements(org.openqa.selenium.By)
, uses ByChained to find all possible elements as normal.
Using this class should be functionally eqivelent to using ByChained, except faster in some cases.
By.ByClassName, By.ByCssSelector, By.ById, By.ByLinkText, By.ByName, By.ByPartialLinkText, By.ByTagName, By.ByXPath
Constructor and Description |
---|
FasterByChained(By... bys) |
Modifier and Type | Method and Description |
---|---|
WebElement |
findElement(SearchContext context) |
List<WebElement> |
findElements(SearchContext context) |
String |
toString() |
public FasterByChained(By... bys)
public List<WebElement> findElements(SearchContext context)
findElements
in class By
public WebElement findElement(SearchContext context)
findElement
in class By
Copyright © 2012-2013 Sencha Labs. All Rights Reserved.