We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2f0fb commit 5e04a80Copy full SHA for 5e04a80
javascript/node/selenium-webdriver/testing/index.js
@@ -121,9 +121,13 @@ function getAvailableBrowsers() {
121
[getPath(new chrome.Options()), Browser.CHROME],
122
[getPath(new edge.Options()), Browser.EDGE],
123
[getPath(new firefox.Options()), Browser.FIREFOX],
124
- [getPath(new ie.Options()), Browser.INTERNET_EXPLORER],
125
- [getPath(new safari.Options()), Browser.SAFARI],
126
]
+ if (process.platform === 'win32') {
+ targets.push([getPath(new ie.Options()), Browser.INTERNET_EXPLORER])
127
+ }
128
+ if (process.platform === 'darwin') {
129
+ targets.push([getPath(new safari.Options()), Browser.SAFARI])
130
131
132
let availableBrowsers = []
133
for (let pair of targets) {
0 commit comments