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

com.testvagrant.optimuscloud.driver.IosDriverCreator Maven / Gradle / Ivy

Go to download

The Java Client provides access to Optimus cloud for all java based projects.

There is a newer version: 1.1.0
Show newest version
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