Uses of Enum Class
org.openqa.selenium.Platform
Packages that use Platform
-
Uses of Platform in org.openqa.selenium
Methods in org.openqa.selenium that return PlatformModifier and TypeMethodDescriptionstatic Platform
Platform.extractFromSysProperty
(String osName) Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.static Platform
Platform.extractFromSysProperty
(String osName, String osVersion) Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.abstract @Nullable Platform
Platform.family()
Returns a platform that represents a family for the current platform.static Platform
Platform.fromString
(String name) Gets a platform with the name matching the parameter.static Platform
Platform.getCurrent()
Get current platform (not necessarily the same as operating system).default Platform
Capabilities.getPlatformName()
static Platform
Returns the enum constant of this class with the specified name.static Platform[]
Platform.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openqa.selenium with parameters of type PlatformModifier and TypeMethodDescriptionboolean
Heuristic for comparing two platforms.void
MutableCapabilities.setCapability
(String capabilityName, Platform value)