All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openqa.selenium.iphone.IPhoneSimulatorDriver Maven / Gradle / Ivy

There is a newer version: 2.39.0
Show newest version
package org.openqa.selenium.iphone;

import java.net.URL;

/**
 * @author [email protected] (Jason Leyba)
 */
public class IPhoneSimulatorDriver extends IPhoneDriver {

  public IPhoneSimulatorDriver(URL iWebDriverUrl, IPhoneSimulatorBinary iphoneSimulator)
      throws Exception {
    super(new IPhoneSimulatorCommandExecutor(iWebDriverUrl, iphoneSimulator));
  }

  public IPhoneSimulatorDriver(String iWebDriverUrl, IPhoneSimulatorBinary iphoneSimulator)
      throws Exception {
    this(new URL(iWebDriverUrl), iphoneSimulator);
  }

  public IPhoneSimulatorDriver(IPhoneSimulatorBinary iphoneSimulator) throws Exception {
    this(DEFAULT_IWEBDRIVER_URL, iphoneSimulator);
  }

  @Override
  protected void startClient() {
    ((IPhoneSimulatorCommandExecutor) getCommandExecutor()).startClient();
  }

  @Override
  protected void stopClient() {
    ((IPhoneSimulatorCommandExecutor) getCommandExecutor()).stopClient();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy