Interface SupportsPlatformVersionOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
BaseOptions,EspressoOptions,GeckoOptions,Mac2Options,SafariOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsPlatformVersionOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLATFORM_VERSION_OPTION
-
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 TsetPlatformVersion(java.lang.String version)Set the version of the platform.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-