PlatformType EnumerationWebDriver
Represents the known and supported Platforms that WebDriver runs on.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public enum PlatformType
Members

  Member nameValueDescription
Any0 Any platform. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
Windows1 Any version of Microsoft Windows. This value is never returned by a driver, but can be used to find drivers with certain capabilities.
WinNT1 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.
XP2 Versions of Microsoft Windows that are compatible with Windows XP.
Vista3 Versions of Microsoft Windows that are compatible with Windows Vista.
Mac4 Any version of the Macintosh OS
Unix5 Any version of the Unix operating system.
Linux6 Any version of the Linux operating system.
Android7 A version of the Android mobile operating system.
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.
See Also