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
Modifier and Type Method Description voidclose()org.openqa.selenium.remote.Responseexecute(java.lang.String s)org.openqa.selenium.remote.Responseexecute(java.lang.String s, java.util.Map<java.lang.String,?> map)org.openqa.selenium.WebElementfindElement(java.lang.String s, java.lang.String s1)org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by)java.util.ListfindElements(java.lang.String s, java.lang.String s1)java.util.List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.By by)voidget(java.lang.String s)java.lang.StringgetCurrentUrl()java.lang.StringgetPageSource()java.lang.StringgetTitle()java.lang.StringgetWindowHandle()java.util.Set<java.lang.String>getWindowHandles()voidhideKeyboard()voidhideKeyboard(java.lang.String keyName)voidhideKeyboard(java.lang.String strategy, java.lang.String keyName)org.openqa.selenium.WebDriver.Optionsmanage()org.openqa.selenium.WebDriver.Navigationnavigate()voidquit()voidshake()org.openqa.selenium.WebDriver.TargetLocatorswitchTo()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.appium.java_client.FindsByIosClassChain
findElementByIosClassChain, findElementsByIosClassChainMethods inherited from interface io.appium.java_client.FindsByIosNSPredicate
findElementByIosNsPredicate, findElementsByIosNsPredicateMethods inherited from interface io.appium.java_client.LocksDevice
isDeviceLocked, lockDevice, lockDevice, unlockDeviceMethods inherited from interface io.appium.java_client.ios.PerformsTouchID
performTouchID, toggleTouchIDEnrollmentMethods inherited from interface io.appium.java_client.ios.PushesFiles
pushFile, pushFile
-
Constructor Details
-
IOSWebDriverStub
public IOSWebDriverStub()
-
-
Method Details
-
get
public void get(java.lang.String s)- Specified by:
getin interfaceorg.openqa.selenium.WebDriver- Overrides:
getin classWebDriverStub
-
getCurrentUrl
public java.lang.String getCurrentUrl()- Specified by:
getCurrentUrlin interfaceorg.openqa.selenium.WebDriver- Overrides:
getCurrentUrlin classWebDriverStub
-
getTitle
public java.lang.String getTitle()- Specified by:
getTitlein interfaceorg.openqa.selenium.WebDriver- Overrides:
getTitlein classWebDriverStub
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)- Specified by:
findElementsin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementsin interfaceorg.openqa.selenium.WebDriver- Overrides:
findElementsin classWebDriverStub
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)- Specified by:
findElementin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementin interfaceorg.openqa.selenium.WebDriver- Overrides:
findElementin classWebDriverStub
-
getPageSource
public java.lang.String getPageSource()- Specified by:
getPageSourcein interfaceorg.openqa.selenium.WebDriver- Overrides:
getPageSourcein classWebDriverStub
-
close
public void close()- Specified by:
closein interfaceorg.openqa.selenium.WebDriver- Overrides:
closein classWebDriverStub
-
quit
public void quit()- Specified by:
quitin interfaceorg.openqa.selenium.WebDriver- Overrides:
quitin classWebDriverStub
-
getWindowHandles
public java.util.Set<java.lang.String> getWindowHandles()- Specified by:
getWindowHandlesin interfaceorg.openqa.selenium.WebDriver- Overrides:
getWindowHandlesin classWebDriverStub
-
getWindowHandle
public java.lang.String getWindowHandle()- Specified by:
getWindowHandlein interfaceorg.openqa.selenium.WebDriver- Overrides:
getWindowHandlein classWebDriverStub
-
switchTo
public org.openqa.selenium.WebDriver.TargetLocator switchTo()- Specified by:
switchToin interfaceorg.openqa.selenium.WebDriver- Overrides:
switchToin classWebDriverStub
-
manage
public org.openqa.selenium.WebDriver.Options manage()- Specified by:
managein interfaceorg.openqa.selenium.WebDriver- Overrides:
managein classWebDriverStub
-
execute
public org.openqa.selenium.remote.Response execute(java.lang.String s, java.util.Map<java.lang.String,?> map)- Specified by:
executein interfaceio.appium.java_client.ExecutesMethod
-
execute
public org.openqa.selenium.remote.Response execute(java.lang.String s)- Specified by:
executein interfaceio.appium.java_client.ExecutesMethod
-
hideKeyboard
public void hideKeyboard(java.lang.String keyName)- Specified by:
hideKeyboardin interfaceio.appium.java_client.HidesKeyboardWithKeyName
-
hideKeyboard
public void hideKeyboard(java.lang.String strategy, java.lang.String keyName)- Specified by:
hideKeyboardin interfaceio.appium.java_client.HidesKeyboardWithKeyName
-
hideKeyboard
public void hideKeyboard()- Specified by:
hideKeyboardin interfaceio.appium.java_client.HidesKeyboard
-
findElement
public org.openqa.selenium.WebElement findElement(java.lang.String s, java.lang.String s1)- Specified by:
findElementin interfaceio.appium.java_client.FindsByFluentSelector
-
findElements
public java.util.List findElements(java.lang.String s, java.lang.String s1)- Specified by:
findElementsin interfaceio.appium.java_client.FindsByFluentSelector
-
shake
public void shake()- Specified by:
shakein interfaceio.appium.java_client.ios.ShakesDevice
-