Enum PlatformType
Represents the known and supported Platforms that WebDriver runs on.
public enum PlatformType
Fields
Android = 7A version of the Android mobile operating system.
Any = 0Any platform. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
Linux = 6Any version of the Linux operating system.
Mac = 4Any version of the Macintosh OS
Unix = 5Any version of the Unix operating system.
Vista = 3Versions of Microsoft Windows that are compatible with Windows Vista.
WinNT = 1Any 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 = 1Any version of Microsoft Windows. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
XP = 2Versions 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.