io.selendroid.server.model
Class By.ByTagName
java.lang.Object
io.selendroid.server.model.By
io.selendroid.server.model.By.ByTagName
- Enclosing class:
- By
public static class By.ByTagName
- extends By
By.ByTagName
public By.ByTagName(String tagName)
findElement
public AndroidElement findElement(SearchContext context)
- Description copied from class:
By
- Find a single element. Override this method if necessary.
- Specified by:
findElement in class By
- Parameters:
context - A context to use to find the element
- Returns:
- The AndroidElement that matches the selector
findElements
public List<AndroidElement> findElements(SearchContext context)
- Description copied from class:
By
- Find many elements.
- Specified by:
findElements in class By
- Parameters:
context - A context to use to find the element
- Returns:
- A list of AndroidElement matching the selector
getElementLocator
public String getElementLocator()
- Specified by:
getElementLocator in class By
toString
public String toString()
- Overrides:
toString in class By
Copyright © 2014. All rights reserved.