File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
javascript/node/selenium-webdriver/testing Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ function getAvailableBrowsers() {
118
118
info ( `Searching for WebDriver executables installed on the current system...` )
119
119
120
120
let targets = [
121
- [ getPath ( chrome . Options ) . driverPath , Browser . CHROME ] ,
122
- [ getPath ( edge . Options ) . driverPath , Browser . EDGE ] ,
123
- [ getPath ( firefox . Options ) . driverPath , Browser . FIREFOX ] ,
124
- [ getPath ( ie . Options ) . driverPath , Browser . INTERNET_EXPLORER ] ,
125
- [ getPath ( safari . Options ) . driverPath , Browser . SAFARI ] ,
121
+ [ getPath ( new chrome . Options ( ) ) . driverPath , Browser . CHROME ] ,
122
+ [ getPath ( new edge . Options ( ) ) . driverPath , Browser . EDGE ] ,
123
+ [ getPath ( new firefox . Options ( ) ) . driverPath , Browser . FIREFOX ] ,
124
+ [ getPath ( new ie . Options ( ) ) . driverPath , Browser . INTERNET_EXPLORER ] ,
125
+ [ getPath ( new safari . Options ( ) ) . driverPath , Browser . SAFARI ] ,
126
126
]
127
127
128
128
let availableBrowsers = [ ]
You can’t perform that action at this time.
0 commit comments