We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc4f5f6 commit 4d136e2Copy full SHA for 4d136e2
javascript/firefox-driver/js/nsCommandProcessor.js
@@ -736,7 +736,7 @@ nsCommandProcessor.prototype.getSessionCapabilities = function(response) {
736
'javascriptEnabled': true,
737
'nativeEvents': Utils.useNativeEvents(),
738
// See https://developer.mozilla.org/en/OS_TARGET
739
- 'platform': xulRuntime.OS,
+ 'platform': (xulRuntime.OS == 'WINNT' ? 'WINDOWS' : xulRuntime.OS),
740
'rotatable': false,
741
'takesScreenshot': true,
742
'version': appInfo.version
0 commit comments