public class ByWidget extends By
By
implementation that looks for widgets that in the current search context.
Use in conjunction with other By
statements to look for widgets that match a certain
criteria.By.ByClassName, By.ByCssSelector, By.ById, By.ByLinkText, By.ByName, By.ByPartialLinkText, By.ByTagName, By.ByXPath
Constructor and Description |
---|
ByWidget(WebDriver driver) |
ByWidget(WebDriver driver,
Class<? extends com.google.gwt.user.client.ui.Widget> widgetType) |
Modifier and Type | Method and Description |
---|---|
WebElement |
findElement(SearchContext context) |
List<WebElement> |
findElements(SearchContext context) |
String |
toString() |
public ByWidget(WebDriver driver)
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.