Skip to content

Commit

Permalink
[JS] fix: iedriver download with selenium-manager #11579
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Jan 25, 2023
1 parent b803c68 commit bcb5a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const execSync = require('child_process').execSync
* currently supported browsers for selenium-manager
* @type {string[]}
*/
const Browser = ['chrome', 'firefox', 'edge']
const Browser = ['chrome', 'firefox', 'edge', 'iexplorer']

/**
* Determines the path of the correct Selenium Manager binary
Expand Down
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/ie.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ function createServiceFromCapabilities(capabilities) {
)

try {
exe = driverLocation(Browser.INTERNET_EXPLORER)
exe = driverLocation('iexplorer')
} catch (err) {
console.log(`Unable to obtain driver using Selenium Manager: ${err}`)
}
Expand Down

0 comments on commit bcb5a25

Please sign in to comment.