Interface SupportsBrowserVersionOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default T setBrowserVersion​(java.lang.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.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • BROWSER_VERSION_OPTION

        static final java.lang.String BROWSER_VERSION_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setBrowserVersion

        default T setBrowserVersion​(java.lang.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.