Package | Description |
---|---|
org.openqa.selenium | |
org.openqa.selenium.remote |
Modifier and Type | Method and Description |
---|---|
static 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.
|
static Platform |
Platform.getCurrent()
Get current platform (not necessarily the same as operating system).
|
Platform |
Capabilities.getPlatform() |
static Platform |
Platform.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
Platform.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Platform.is(Platform compareWith)
Heuristic for comparing two platforms.
|
Modifier and Type | Method and Description |
---|---|
Platform |
DesiredCapabilities.getPlatform() |
Modifier and Type | Method and Description |
---|---|
void |
DesiredCapabilities.setCapability(String capabilityName,
Platform value) |
void |
DesiredCapabilities.setPlatform(Platform platform) |
Constructor and Description |
---|
DesiredCapabilities(String browser,
String version,
Platform platform) |
Copyright © 2013. All Rights Reserved.