public enum Platform extends Enum<Platform>
Modifier and Type | Class and Description |
---|---|
static class |
Platform.PlatformComparator |
Enum Constant and Description |
---|
Any |
El_Capitan |
Linux |
Mac |
Mavericks |
Mountain_Lion |
Sierra |
Windows |
Windows10 |
Windows7 |
Windows8 |
Windows8_1 |
WindowsXP |
Yosemite |
Modifier and Type | Method and Description |
---|---|
Platform |
family() |
static Platform |
fromString(String name) |
String[] |
getNames() |
org.openqa.selenium.Platform |
seleniumPlatform() |
static Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Version |
version() |
public static final Platform Windows
public static final Platform WindowsXP
public static final Platform Windows8
public static final Platform Windows8_1
public static final Platform Windows7
public static final Platform Windows10
public static final Platform Mac
public static final Platform El_Capitan
public static final Platform Mavericks
public static final Platform Mountain_Lion
public static final Platform Yosemite
public static final Platform Sierra
public static final Platform Linux
public static final Platform Any
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String[] getNames()
public Platform family()
public org.openqa.selenium.Platform seleniumPlatform()
public Version version()
Copyright © 2019. All rights reserved.