Skip to content

Commit bcb5a25

Browse files
committed
[JS] fix: iedriver download with selenium-manager #11579
1 parent b803c68 commit bcb5a25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/node/selenium-webdriver/common/seleniumManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const execSync = require('child_process').execSync
3030
* currently supported browsers for selenium-manager
3131
* @type {string[]}
3232
*/
33-
const Browser = ['chrome', 'firefox', 'edge']
33+
const Browser = ['chrome', 'firefox', 'edge', 'iexplorer']
3434

3535
/**
3636
* Determines the path of the correct Selenium Manager binary

javascript/node/selenium-webdriver/ie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ function createServiceFromCapabilities(capabilities) {
406406
)
407407

408408
try {
409-
exe = driverLocation(Browser.INTERNET_EXPLORER)
409+
exe = driverLocation('iexplorer')
410410
} catch (err) {
411411
console.log(`Unable to obtain driver using Selenium Manager: ${err}`)
412412
}

0 commit comments

Comments
 (0)