org.openqa.selenium.iphone
Class IPhoneSimulatorDriver

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteWebDriver
      extended by org.openqa.selenium.iphone.IPhoneDriver
          extended by org.openqa.selenium.iphone.IPhoneSimulatorDriver
All Implemented Interfaces:
HasCapabilities, HasInputDevices, FindsByClassName, FindsByCssSelector, FindsById, FindsByLinkText, FindsByName, FindsByTagName, FindsByXPath, JavascriptExecutor, SearchContext, TakesScreenshot, WebDriver

public class IPhoneSimulatorDriver
extends IPhoneDriver

Author:
jmleyba@gmail.com (Jason Leyba)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
RemoteWebDriver.RemoteMouse, RemoteWebDriver.RemoteTargetLocator, RemoteWebDriver.RemoteWebDriverOptions
 
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
WebDriver.ImeHandler, WebDriver.Navigation, WebDriver.Options, WebDriver.TargetLocator, WebDriver.Timeouts
 
Field Summary
 
Fields inherited from class org.openqa.selenium.iphone.IPhoneDriver
DEFAULT_IWEBDRIVER_URL
 
Constructor Summary
IPhoneSimulatorDriver(IPhoneSimulatorBinary iphoneSimulator)
           
IPhoneSimulatorDriver(String iWebDriverUrl, IPhoneSimulatorBinary iphoneSimulator)
           
IPhoneSimulatorDriver(URL iWebDriverUrl, IPhoneSimulatorBinary iphoneSimulator)
           
 
Method Summary
protected  void startClient()
          Method called before starting a new session.
protected  void stopClient()
          Method called after executing a RemoteWebDriver.quit() command.
 
Methods inherited from class org.openqa.selenium.iphone.IPhoneDriver
close, getScreenshotAs, switchTo
 
Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver
execute, execute, executeAsyncScript, executeScript, findElement, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getKeyboard, getMouse, getPageSource, getSessionId, getTitle, getWindowHandle, getWindowHandles, log, manage, navigate, newRemoteWebElement, quit, setCommandExecutor, setElementConverter, startSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPhoneSimulatorDriver

public IPhoneSimulatorDriver(URL iWebDriverUrl,
                             IPhoneSimulatorBinary iphoneSimulator)
                      throws Exception
Throws:
Exception

IPhoneSimulatorDriver

public IPhoneSimulatorDriver(String iWebDriverUrl,
                             IPhoneSimulatorBinary iphoneSimulator)
                      throws Exception
Throws:
Exception

IPhoneSimulatorDriver

public IPhoneSimulatorDriver(IPhoneSimulatorBinary iphoneSimulator)
                      throws Exception
Throws:
Exception
Method Detail

startClient

protected void startClient()
Description copied from class: RemoteWebDriver
Method called before starting a new session. The default implementation is a no-op, but subtypes should override this method to define custom behavior.

Overrides:
startClient in class RemoteWebDriver

stopClient

protected void stopClient()
Description copied from class: RemoteWebDriver
Method called after executing a RemoteWebDriver.quit() command. Subtypes

Overrides:
stopClient in class RemoteWebDriver


Copyright © 2011. All Rights Reserved.