public class CheatingByChained extends By
By
operation, otherwise use FasterByChained
or
ByChained
.
When running SearchContext.findElements(org.openqa.selenium.By)
to search for multiple items, uses ByChained normal.
By.ByClassName, By.ByCssSelector, By.ById, By.ByLinkText, By.ByName, By.ByPartialLinkText, By.ByTagName, By.ByXPath
Constructor and Description |
---|
CheatingByChained(By... bys) |
Modifier and Type | Method and Description |
---|---|
WebElement |
findElement(SearchContext context) |
List<WebElement> |
findElements(SearchContext context) |
String |
toString() |
public CheatingByChained(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.