Interface SupportsPlatformVersionOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getPlatformVersion()
      Get the version of the platform.
      default T setPlatformVersion​(java.lang.String version)
      Set the version of the platform.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • PLATFORM_VERSION_OPTION

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

      • setPlatformVersion

        default T setPlatformVersion​(java.lang.String version)
        Set the version of the platform.
        Parameters:
        version - is the platform version.
        Returns:
        self instance for chaining.
      • getPlatformVersion

        default java.util.Optional<java.lang.String> getPlatformVersion()
        Get the version of the platform.
        Returns:
        String representing the platform version.