Closed Bug 1421233 Opened 7 years ago Closed 7 years ago

platformName should allow `windows` to be compared and equal to `windows_nt`

Categories

(Testing :: geckodriver, enhancement, P1)

Version 3
Unspecified
Windows
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1414320

People

(Reporter: automatedtester, Unassigned)

Details

Raising this from 

https://github.com/mozilla/geckodriver/issues/1030 and https://github.com/SeleniumHQ/selenium/issues/5084


There is a note in https://w3c.github.io/webdriver/webdriver-spec.html under "platformName" mentioning this and since this breaks a Selenium users we should follow the note.

"Note

The following platform names are in common usage with well-understood semantics and, when matching capabilities, greatest interoperability can be achieved by honoring them as valid synonyms for well-known Operating Systems:
Platform 	Operating System
linux	Any OS based upon the Linux kernel and X Windows.
mac	Any version of Apple's OS X.
windows	Any version of Microsoft's Windows, including desktop and mobile versions.

This list is not exhaustive.

When returning capabilities from New Session, it is valid to return a more specific platformName, allowing users to correctly identify the Operating System the WebDriver implementation is running on. "
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.