Skip to content

Commit

Permalink
[JS] Update testing/index.js code snippet to fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Aug 1, 2023
1 parent 2ee529e commit 1995f30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions javascript/node/selenium-webdriver/testing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ function getAvailableBrowsers() {
info(`Searching for WebDriver executables installed on the current system...`)

let targets = [
[getPath(chrome.Options).driverPath, Browser.CHROME],
[getPath(edge.Options).driverPath, Browser.EDGE],
[getPath(firefox.Options).driverPath, Browser.FIREFOX],
[getPath(ie.Options).driverPath, Browser.INTERNET_EXPLORER],
[getPath(safari.Options).driverPath, Browser.SAFARI],
[getPath(new chrome.Options()).driverPath, Browser.CHROME],
[getPath(new edge.Options()).driverPath, Browser.EDGE],
[getPath(new firefox.Options()).driverPath, Browser.FIREFOX],
[getPath(new ie.Options()).driverPath, Browser.INTERNET_EXPLORER],
[getPath(new safari.Options()).driverPath, Browser.SAFARI],
]

let availableBrowsers = []
Expand Down

0 comments on commit 1995f30

Please sign in to comment.