io.selendroid.server.model
Class AndroidRElement
java.lang.Object
io.selendroid.server.model.AndroidRElement
- All Implemented Interfaces:
- AndroidElement
public class AndroidRElement
- extends Object
- implements AndroidElement
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public Integer id
AndroidRElement
public AndroidRElement(int id)
getParent
public AndroidElement getParent()
- Specified by:
getParent in interface AndroidElement
getChildren
public Collection<AndroidElement> getChildren()
- Specified by:
getChildren in interface AndroidElement
findElement
public AndroidElement findElement(By by)
throws NoSuchElementException
- Specified by:
findElement in interface AndroidElement
- Throws:
NoSuchElementException
findElements
public List<AndroidElement> findElements(By by)
throws NoSuchElementException
- Specified by:
findElements in interface AndroidElement
- Throws:
NoSuchElementException
enterText
public void enterText(CharSequence... keysToSend)
- Specified by:
enterText in interface AndroidElement
getText
public String getText()
- Specified by:
getText in interface AndroidElement
click
public void click()
- Specified by:
click in interface AndroidElement
submit
public void submit()
- Specified by:
submit in interface AndroidElement
isSelected
public boolean isSelected()
- Specified by:
isSelected in interface AndroidElement
isDisplayed
public boolean isDisplayed()
- Specified by:
isDisplayed in interface AndroidElement
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface AndroidElement
clear
public void clear()
- Specified by:
clear in interface AndroidElement
getLocation
public Point getLocation()
- Specified by:
getLocation in interface AndroidElement
getCoordinates
public Coordinates getCoordinates()
- Specified by:
getCoordinates in interface AndroidElement
getSize
public Dimension getSize()
- Specified by:
getSize in interface AndroidElement
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute in interface AndroidElement
getTagName
public String getTagName()
- Specified by:
getTagName in interface AndroidElement
setText
public void setText(CharSequence... keysToSend)
- Specified by:
setText in interface AndroidElement
id
public String id()
- Specified by:
id in interface AndroidElement
Copyright © 2014. All rights reserved.