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:
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


Field Summary
protected  org.openqa.selenium.remote.FileDetector fileDetector
           
 
Fields inherited from class org.openqa.selenium.remote.RemoteWebElement
id, mouse
 
Constructor Summary
MobileElement(org.openqa.selenium.remote.RemoteWebElement originalElement, MobileDriver parentDriver)
           
 
Method Summary
protected  org.openqa.selenium.remote.Response execute(String command, Map<String,?> parameters)
           
 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)
           
 void setValue(String value)
           
 
Methods inherited from class org.openqa.selenium.remote.RemoteWebElement
clear, click, equals, 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(org.openqa.selenium.remote.RemoteWebElement originalElement,
                     MobileDriver parentDriver)
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)

findElementsByIosUIAutomation

public List<org.openqa.selenium.WebElement> findElementsByIosUIAutomation(String using)

findElementByAndroidUIAutomator

public org.openqa.selenium.WebElement findElementByAndroidUIAutomator(String using)

findElementsByAndroidUIAutomator

public List<org.openqa.selenium.WebElement> findElementsByAndroidUIAutomator(String using)

findElementByAccessibilityId

public org.openqa.selenium.WebElement findElementByAccessibilityId(String using)

findElementsByAccessibilityId

public List<org.openqa.selenium.WebElement> findElementsByAccessibilityId(String using)

setValue

public void setValue(String value)

execute

protected org.openqa.selenium.remote.Response execute(String command,
                                                      Map<String,?> parameters)
Overrides:
execute in class org.openqa.selenium.remote.RemoteWebElement


Copyright © 2014. All rights reserved.