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