Enum PlatformType
Represents the known and supported Platforms that WebDriver runs on.
public enum PlatformType
Fields
Android = 7
A version of the Android mobile operating system.
Any = 0
Any platform. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
Linux = 6
Any version of the Linux operating system.
Mac = 4
Any version of the Macintosh OS
Unix = 5
Any version of the Unix operating system.
Vista = 3
Versions of Microsoft Windows that are compatible with Windows Vista.
WinNT = 1
Any Windows NT-based version of Microsoft Windows. This value is never returned by a driver, but can be used to find drivers with certain capabilities. This value is equivalent to PlatformType.Windows.
Windows = 1
Any version of Microsoft Windows. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
XP = 2
Versions of Microsoft Windows that are compatible with Windows XP.
Remarks
The Platform class maps closely to the Operating System, but differs slightly, because this class is used to extract information such as program locations and line endings.