File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/src/org/openqa/selenium/manager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 32
32
import java .nio .charset .StandardCharsets ;
33
33
import java .nio .file .Files ;
34
34
import java .nio .file .Path ;
35
+ import java .util .ArrayList ;
35
36
import java .util .Arrays ;
36
37
import java .util .List ;
37
38
import java .util .logging .Logger ;
@@ -167,10 +168,9 @@ public String getDriverPath(Capabilities options) {
167
168
if (binaryFile == null ) {
168
169
return null ;
169
170
}
170
- List <String > commandList =
171
- Arrays .asList (binaryFile .getAbsolutePath (),
172
- "--browser" , options .getBrowserName (),
173
- "--output" , "json" );
171
+ List <String > commandList = new ArrayList (Arrays .asList (binaryFile .getAbsolutePath (),
172
+ "--browser" , options .getBrowserName (),
173
+ "--output" , "json" ));
174
174
if (!options .getBrowserVersion ().isEmpty ()) {
175
175
commandList .addAll (Arrays .asList ("--browser-version" , options .getBrowserVersion ()));
176
176
}
You can’t perform that action at this time.
0 commit comments