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

com.testvagrant.optimuscloud.entities.MobileDriverDetails 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.entities;

import io.appium.java_client.MobileDriver;
import org.openqa.selenium.remote.DesiredCapabilities;

import java.util.Map;

public class MobileDriverDetails {
    private MobileDriver mobileDriver;
    private String sessionUrl;
    private String udid; //For Optimus Usage
    private DesiredCapabilities desiredCapabilities; //For dashboard usage


    public MobileDriver getMobileDriver() {
        return mobileDriver;
    }

    public void setMobileDriver(MobileDriver mobileDriver) {
        this.mobileDriver = mobileDriver;
    }

    public String getSessionUrl() {
        return sessionUrl;
    }

    public void setSessionUrl(String sessionUrl) {
        this.sessionUrl = sessionUrl;
    }

    public String getUdid() {
        return udid;
    }

    public void setUdid(String udid) {
        this.udid = udid;
    }

    public DesiredCapabilities getDesiredCapabilities() {
        return desiredCapabilities;
    }

    public void setDesiredCapabilities(Map desiredCapabilitiesMap) {
        DesiredCapabilities desiredCapabilities = new DesiredCapabilities(desiredCapabilitiesMap);
        this.desiredCapabilities = desiredCapabilities;
    }

    public void setDesiredCapabilities(DesiredCapabilities desiredCapabilities) {
        this.desiredCapabilities = desiredCapabilities;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy