io.selendroid.server.model
Interface AndroidElement
- All Known Implementing Classes:
- AndroidNativeElement, AndroidRElement, AndroidWebElement
public interface AndroidElement
getParent
AndroidElement getParent()
getChildren
Collection<AndroidElement> getChildren()
findElement
AndroidElement findElement(By by)
throws NoSuchElementException
- Throws:
NoSuchElementException
findElements
List<AndroidElement> findElements(By by)
throws NoSuchElementException
- Throws:
NoSuchElementException
enterText
void enterText(CharSequence... keysToSend)
setText
void setText(CharSequence... keysToSend)
getText
String getText()
click
void click()
submit
void submit()
isSelected
boolean isSelected()
isDisplayed
boolean isDisplayed()
isEnabled
boolean isEnabled()
clear
void clear()
getLocation
Point getLocation()
getCoordinates
Coordinates getCoordinates()
getSize
Dimension getSize()
getTagName
String getTagName()
getAttribute
String getAttribute(String name)
toString
String toString()
- Overrides:
toString in class Object
id
String id()
Copyright © 2014. All rights reserved.