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

com.saucelabs.saucebindings.options.EdgeConfigurations Maven / Gradle / Ivy

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy