diff --git a/javascript/node/selenium-webdriver/common/seleniumManager.js b/javascript/node/selenium-webdriver/common/seleniumManager.js index daeb622e82eaa..1f0ecee2956c7 100644 --- a/javascript/node/selenium-webdriver/common/seleniumManager.js +++ b/javascript/node/selenium-webdriver/common/seleniumManager.js @@ -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 diff --git a/javascript/node/selenium-webdriver/ie.js b/javascript/node/selenium-webdriver/ie.js index 494dd53bb8df1..afcdf96fe4be9 100644 --- a/javascript/node/selenium-webdriver/ie.js +++ b/javascript/node/selenium-webdriver/ie.js @@ -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}`) }