io.appium.java_client
Class MobileElement

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteWebElement
      extended by io.appium.java_client.MobileElement
All Implemented Interfaces:
FindsByAccessibilityId, FindsByAndroidUIAutomator, FindsByIosUIAutomation, org.openqa.selenium.internal.FindsByClassName, org.openqa.selenium.internal.FindsByCssSelector, org.openqa.selenium.internal.FindsById, org.openqa.selenium.internal.FindsByLinkText, org.openqa.selenium.internal.FindsByName, org.openqa.selenium.internal.FindsByTagName, org.openqa.selenium.internal.FindsByXPath, org.openqa.selenium.internal.Locatable, org.openqa.selenium.internal.WrapsDriver, org.openqa.selenium.SearchContext, org.openqa.selenium.WebElement

public class MobileElement
extends org.openqa.selenium.remote.RemoteWebElement
implements FindsByAccessibilityId, FindsByAndroidUIAutomator, FindsByIosUIAutomation


Field Summary
protected  org.openqa.selenium.remote.FileDetector fileDetector
           
 
Fields inherited from class org.openqa.selenium.remote.RemoteWebElement
id, mouse, parent
 
Constructor Summary
MobileElement()
           
 
Method Summary
 org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
           
 org.openqa.selenium.WebElement findElementByAccessibilityId(String using)
           
 org.openqa.selenium.WebElement findElementByAndroidUIAutomator(String using)
           
 org.openqa.selenium.WebElement findElementByIosUIAutomation(String using)
           
 List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
           
 List<org.openqa.selenium.WebElement> findElementsByAccessibilityId(String using)
           
 List<org.openqa.selenium.WebElement> findElementsByAndroidUIAutomator(String using)
           
 List<org.openqa.selenium.WebElement> findElementsByIosUIAutomation(String using)
           
 org.openqa.selenium.Point getCenter()
           
 void setValue(String value)
           
 
Methods inherited from class org.openqa.selenium.remote.RemoteWebElement
clear, click, equals, execute, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getAttribute, getCoordinates, getCssValue, getId, getLocation, getSize, getTagName, getText, getWrappedDriver, hashCode, isDisplayed, isEnabled, isSelected, sendKeys, setFileDetector, setFoundBy, setId, setParent, submit, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fileDetector

protected org.openqa.selenium.remote.FileDetector fileDetector
Constructor Detail

MobileElement

public MobileElement()
Method Detail

findElements

public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
Specified by:
findElements in interface org.openqa.selenium.SearchContext
Specified by:
findElements in interface org.openqa.selenium.WebElement
Overrides:
findElements in class org.openqa.selenium.remote.RemoteWebElement

findElement

public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
Specified by:
findElement in interface org.openqa.selenium.SearchContext
Specified by:
findElement in interface org.openqa.selenium.WebElement
Overrides:
findElement in class org.openqa.selenium.remote.RemoteWebElement

findElementByIosUIAutomation

public org.openqa.selenium.WebElement findElementByIosUIAutomation(String using)
Specified by:
findElementByIosUIAutomation in interface FindsByIosUIAutomation

findElementsByIosUIAutomation

public List<org.openqa.selenium.WebElement> findElementsByIosUIAutomation(String using)
Specified by:
findElementsByIosUIAutomation in interface FindsByIosUIAutomation

findElementByAndroidUIAutomator

public org.openqa.selenium.WebElement findElementByAndroidUIAutomator(String using)
Specified by:
findElementByAndroidUIAutomator in interface FindsByAndroidUIAutomator

findElementsByAndroidUIAutomator

public List<org.openqa.selenium.WebElement> findElementsByAndroidUIAutomator(String using)
Specified by:
findElementsByAndroidUIAutomator in interface FindsByAndroidUIAutomator

findElementByAccessibilityId

public org.openqa.selenium.WebElement findElementByAccessibilityId(String using)
Specified by:
findElementByAccessibilityId in interface FindsByAccessibilityId

findElementsByAccessibilityId

public List<org.openqa.selenium.WebElement> findElementsByAccessibilityId(String using)
Specified by:
findElementsByAccessibilityId in interface FindsByAccessibilityId

setValue

public void setValue(String value)

getCenter

public org.openqa.selenium.Point getCenter()


Copyright © 2014. All rights reserved.