Interface SupportsBrowserVersionOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
GeckoOptions, SafariOptions

public interface SupportsBrowserVersionOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    Provide the version number of the browser to automate if there are multiple versions installed on the same machine where the driver is running.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setBrowserVersion

      default T setBrowserVersion(String version)
      Provide the version number of the browser to automate if there are multiple versions installed on the same machine where the driver is running.
      Parameters:
      version - Browser version to use.
      Returns:
      self instance for chaining.