Java org.openqa.selenium Platform fields, constructors, methods, implement or subclass

Example usage for Java org.openqa.selenium Platform fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.openqa.selenium Platform.

The text is from its open source code.

Field

PlatformWINDOWS
Never returned, but can be used to request a browser running on any version of Windows.
PlatformXP
For versions of Windows that "feel like" Windows XP.
PlatformVISTA
For versions of Windows that "feel like" Windows Vista.
PlatformWIN8
For versions of Windows that "feel like" Windows 8.
PlatformWIN8_1
PlatformWIN10
PlatformMAC
PlatformUNIX
Many platforms have UNIX traits, amongst them LINUX, Solaris and BSD.
PlatformLINUX
PlatformANDROID
PlatformANY
Never returned, but can be used to request a browser running on any operating system.

Method

PlatformextractFromSysProperty(String osName, String osVersion)
Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.
PlatformextractFromSysProperty(String osName)
Extracts platforms based on system properties in Java and uses a heuristic to determine the most likely operating system.
Platformfamily()
Returns a platform that represents a family for the current platform.
PlatformfromString(String name)
Gets a platform with the name matching the parameter.
PlatformgetCurrent()
Get current platform (not necessarily the same as operating system).
intgetMajorVersion()
Returns the major version of this platform.
intgetMinorVersion()
Returns the minor version of this platform.
String[]getPartOfOsName()
booleanis(Platform compareWith)
Heuristic for comparing two platforms.