com.saucelabs.saucebindings.options.EdgeConfigurations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sauce_bindings Show documentation
Show all versions of sauce_bindings Show documentation
Java library which provides tools for interacting with Sauce Labs
The newest version!
package com.saucelabs.saucebindings.options;
import org.openqa.selenium.edge.EdgeOptions;
public class EdgeConfigurations extends VDCConfigurations {
EdgeConfigurations(EdgeOptions edgeOptions) {
sauceOptions = new SauceOptions(edgeOptions);
}
/**
* @param version the specific version of Driver to use with the job
* @return instance of configuration
*/
public EdgeConfigurations setEdgedriverVersion(String version) {
sauceOptions.sauce().setEdgedriverVersion(version);
return this;
}
/**
* You should almost always use the latest version of Selenium
*
* @param version the version of Selenium Server to use for the test
* @return instance of configuration
*/
public EdgeConfigurations setSeleniumVersion(String version) {
sauceOptions.sauce().setSeleniumVersion(version);
return this;
}
}