Class IOSWebDriverStub
- java.lang.Object
-
- net.thucydides.core.webdriver.stubs.WebDriverStub
-
- net.thucydides.core.webdriver.stubs.IOSWebDriverStub
-
- All Implemented Interfaces:
io.appium.java_client.ExecutesMethod
,io.appium.java_client.FindsByFluentSelector
,io.appium.java_client.FindsByIosClassChain
,io.appium.java_client.FindsByIosNSPredicate
,io.appium.java_client.HidesKeyboard
,io.appium.java_client.HidesKeyboardWithKeyName
,io.appium.java_client.ios.PerformsTouchID
,io.appium.java_client.ios.PushesFiles
,io.appium.java_client.ios.ShakesDevice
,io.appium.java_client.LocksDevice
,org.openqa.selenium.SearchContext
,org.openqa.selenium.WebDriver
public class IOSWebDriverStub extends WebDriverStub implements io.appium.java_client.HidesKeyboardWithKeyName, io.appium.java_client.ios.ShakesDevice, io.appium.java_client.ios.PerformsTouchID, io.appium.java_client.FindsByIosNSPredicate, io.appium.java_client.FindsByIosClassChain, io.appium.java_client.ios.PushesFiles, io.appium.java_client.LocksDevice
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
-
-
Constructor Summary
Constructors Constructor Description IOSWebDriverStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.openqa.selenium.remote.Response
execute(String s)
org.openqa.selenium.remote.Response
execute(String s, Map<String,?> map)
org.openqa.selenium.WebElement
findElement(String s, String s1)
org.openqa.selenium.WebElement
findElement(org.openqa.selenium.By by)
List
findElements(String s, String s1)
List<org.openqa.selenium.WebElement>
findElements(org.openqa.selenium.By by)
void
get(String s)
String
getCurrentUrl()
String
getPageSource()
String
getTitle()
String
getWindowHandle()
Set<String>
getWindowHandles()
void
hideKeyboard()
void
hideKeyboard(String keyName)
void
hideKeyboard(String strategy, String keyName)
org.openqa.selenium.WebDriver.Options
manage()
org.openqa.selenium.WebDriver.Navigation
navigate()
void
quit()
void
shake()
org.openqa.selenium.WebDriver.TargetLocator
switchTo()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.appium.java_client.FindsByIosClassChain
findElementByIosClassChain, findElementsByIosClassChain
-
Methods inherited from interface io.appium.java_client.FindsByIosNSPredicate
findElementByIosNsPredicate, findElementsByIosNsPredicate
-
Methods inherited from interface io.appium.java_client.LocksDevice
isDeviceLocked, lockDevice, lockDevice, unlockDevice
-
-
-
-
Method Detail
-
get
public void get(String s)
- Specified by:
get
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
get
in classWebDriverStub
-
getCurrentUrl
public String getCurrentUrl()
- Specified by:
getCurrentUrl
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
getCurrentUrl
in classWebDriverStub
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
getTitle
in classWebDriverStub
-
findElements
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
- Specified by:
findElements
in interfaceorg.openqa.selenium.SearchContext
- Specified by:
findElements
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
findElements
in classWebDriverStub
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
- Specified by:
findElement
in interfaceorg.openqa.selenium.SearchContext
- Specified by:
findElement
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
findElement
in classWebDriverStub
-
getPageSource
public String getPageSource()
- Specified by:
getPageSource
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
getPageSource
in classWebDriverStub
-
close
public void close()
- Specified by:
close
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
close
in classWebDriverStub
-
quit
public void quit()
- Specified by:
quit
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
quit
in classWebDriverStub
-
getWindowHandles
public Set<String> getWindowHandles()
- Specified by:
getWindowHandles
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
getWindowHandles
in classWebDriverStub
-
getWindowHandle
public String getWindowHandle()
- Specified by:
getWindowHandle
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
getWindowHandle
in classWebDriverStub
-
switchTo
public org.openqa.selenium.WebDriver.TargetLocator switchTo()
- Specified by:
switchTo
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
switchTo
in classWebDriverStub
-
navigate
public org.openqa.selenium.WebDriver.Navigation navigate()
- Specified by:
navigate
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
navigate
in classWebDriverStub
-
manage
public org.openqa.selenium.WebDriver.Options manage()
- Specified by:
manage
in interfaceorg.openqa.selenium.WebDriver
- Overrides:
manage
in classWebDriverStub
-
execute
public org.openqa.selenium.remote.Response execute(String s, Map<String,?> map)
- Specified by:
execute
in interfaceio.appium.java_client.ExecutesMethod
-
execute
public org.openqa.selenium.remote.Response execute(String s)
- Specified by:
execute
in interfaceio.appium.java_client.ExecutesMethod
-
hideKeyboard
public void hideKeyboard(String keyName)
- Specified by:
hideKeyboard
in interfaceio.appium.java_client.HidesKeyboardWithKeyName
-
hideKeyboard
public void hideKeyboard(String strategy, String keyName)
- Specified by:
hideKeyboard
in interfaceio.appium.java_client.HidesKeyboardWithKeyName
-
hideKeyboard
public void hideKeyboard()
- Specified by:
hideKeyboard
in interfaceio.appium.java_client.HidesKeyboard
-
findElement
public org.openqa.selenium.WebElement findElement(String s, String s1)
- Specified by:
findElement
in interfaceio.appium.java_client.FindsByFluentSelector
-
findElements
public List findElements(String s, String s1)
- Specified by:
findElements
in interfaceio.appium.java_client.FindsByFluentSelector
-
shake
public void shake()
- Specified by:
shake
in interfaceio.appium.java_client.ios.ShakesDevice
-
-