com.testvagrant.optimuscloud.driver.IosDriverCreator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Java Client provides access to Optimus cloud for all java based projects.
package com.testvagrant.optimuscloud.driver;
import io.appium.java_client.MobileDriver;
import io.appium.java_client.ios.IOSDriver;
import org.openqa.selenium.Capabilities;
import java.net.MalformedURLException;
import java.net.URL;
public class IosDriverCreator extends DriverCreator {
IosDriverCreator(String sessionUrl, Capabilities desiredCapabilities) {
super(sessionUrl,desiredCapabilities);
}
@Override
public MobileDriver getDriver() throws MalformedURLException {
return new IOSDriver(new URL(sessionUrl),desiredCapabilities);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy