PlatformIsPlatformType Method WebDriver
Compares the platform to the specified type.

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

public bool IsPlatformType(
	PlatformType compareTo
)

Parameters

compareTo
Type: OpenQA.SeleniumPlatformType
A PlatformType value to compare to.

Return Value

Type: Boolean
if the platforms match; otherwise .
See Also

Reference