public class IOSElement extends MobileElement implements FindsByIosUIAutomation<MobileElement>, ScrollsTo<MobileElement>
fileDetector
Constructor and Description |
---|
IOSElement() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.remote.Response |
execute(String driverCommand,
Map<String,?> parameters) |
T |
findElement(org.openqa.selenium.By by) |
T |
findElementByAccessibilityId(String using) |
T |
findElementByClassName(String using) |
T |
findElementByCssSelector(String using) |
T |
findElementById(String id) |
MobileElement |
findElementByIosUIAutomation(String using) |
T |
findElementByLinkText(String using) |
T |
findElementByName(String using) |
T |
findElementByPartialLinkText(String using) |
T |
findElementByTagName(String using) |
T |
findElementByXPath(String using) |
List<MobileElement> |
findElementsByIosUIAutomation(String using) |
String |
getCssValue(String propertyName) |
MobileElement |
scrollTo(String text)
Scroll to the element whose 'text' attribute contains the input text.
|
MobileElement |
scrollToExact(String text)
Scroll to the element whose 'text' attribute matches the input text.
|
void |
setValue(String value) |
void |
submit() |
findElements, findElementsByAccessibilityId, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getCenter, pinch, swipe, swipe, tap, zoom
clear, click, equals, findElement, findElements, getAttribute, getCoordinates, getId, getLocation, getScreenshotAs, getSize, getTagName, getText, getWrappedDriver, hashCode, isDisplayed, isEnabled, isSelected, sendKeys, setFileDetector, setFoundBy, setId, setParent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public MobileElement findElementByIosUIAutomation(String using) throws org.openqa.selenium.WebDriverException
findElementByIosUIAutomation
in interface FindsByIosUIAutomation<MobileElement>
org.openqa.selenium.WebDriverException
- This method is not applicable with browser/webview UI.public List<MobileElement> findElementsByIosUIAutomation(String using) throws org.openqa.selenium.WebDriverException
findElementsByIosUIAutomation
in interface FindsByIosUIAutomation<MobileElement>
org.openqa.selenium.WebDriverException
- This method is not applicable with browser/webview UI.public MobileElement scrollTo(String text)
scrollTo
in interface ScrollsTo<MobileElement>
text
- input text contained in text attributepublic MobileElement scrollToExact(String text)
scrollToExact
in interface ScrollsTo<MobileElement>
text
- input text contained in text attributepublic void setValue(String value)
public org.openqa.selenium.remote.Response execute(String driverCommand, Map<String,?> parameters)
execute
in class org.openqa.selenium.remote.RemoteWebElement
public T findElement(org.openqa.selenium.By by)
findElement
in interface GenericSearchContext<T extends org.openqa.selenium.WebElement>
findElement
in interface org.openqa.selenium.SearchContext
findElement
in interface org.openqa.selenium.WebElement
findElement
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementById(String id)
findElementById
in interface GenericFindsById<T extends org.openqa.selenium.WebElement>
findElementById
in interface org.openqa.selenium.internal.FindsById
findElementById
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementByLinkText(String using) throws org.openqa.selenium.WebDriverException
findElementByLinkText
in interface GenericFindsByLinkText<T extends org.openqa.selenium.WebElement>
findElementByLinkText
in interface org.openqa.selenium.internal.FindsByLinkText
findElementByLinkText
in class org.openqa.selenium.remote.RemoteWebElement
org.openqa.selenium.WebDriverException
- his method doesn't work against native app UI.public T findElementByPartialLinkText(String using) throws org.openqa.selenium.WebDriverException
findElementByPartialLinkText
in interface GenericFindsByLinkText<T extends org.openqa.selenium.WebElement>
findElementByPartialLinkText
in interface org.openqa.selenium.internal.FindsByLinkText
findElementByPartialLinkText
in class org.openqa.selenium.remote.RemoteWebElement
org.openqa.selenium.WebDriverException
- his method doesn't work against native app UI.public T findElementByTagName(String using)
findElementByTagName
in interface GenericFindsByTagName<T extends org.openqa.selenium.WebElement>
findElementByTagName
in interface org.openqa.selenium.internal.FindsByTagName
findElementByTagName
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementByName(String using)
findElementByName
in interface GenericFindsByName<T extends org.openqa.selenium.WebElement>
findElementByName
in interface org.openqa.selenium.internal.FindsByName
findElementByName
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementByClassName(String using)
findElementByClassName
in interface GenericFindsByClassName<T extends org.openqa.selenium.WebElement>
findElementByClassName
in interface org.openqa.selenium.internal.FindsByClassName
findElementByClassName
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementByCssSelector(String using) throws org.openqa.selenium.WebDriverException
findElementByCssSelector
in interface GenericFindsByCssSelector<T extends org.openqa.selenium.WebElement>
findElementByCssSelector
in interface org.openqa.selenium.internal.FindsByCssSelector
findElementByCssSelector
in class org.openqa.selenium.remote.RemoteWebElement
org.openqa.selenium.WebDriverException
- his method doesn't work against native app UI.public T findElementByXPath(String using)
findElementByXPath
in interface GenericFindsByXPath<T extends org.openqa.selenium.WebElement>
findElementByXPath
in interface org.openqa.selenium.internal.FindsByXPath
findElementByXPath
in class org.openqa.selenium.remote.RemoteWebElement
public T findElementByAccessibilityId(String using)
findElementByAccessibilityId
in interface FindsByAccessibilityId<T extends org.openqa.selenium.WebElement>
public void submit() throws org.openqa.selenium.WebDriverException
submit
in interface org.openqa.selenium.WebElement
submit
in class org.openqa.selenium.remote.RemoteWebElement
org.openqa.selenium.WebDriverException
- because it may not work against native app UI.public String getCssValue(String propertyName) throws org.openqa.selenium.WebDriverException
getCssValue
in interface org.openqa.selenium.WebElement
getCssValue
in class org.openqa.selenium.remote.RemoteWebElement
org.openqa.selenium.WebDriverException
- because it may not work against native app UI.Copyright © 2015. All rights reserved.