File tree Expand file tree Collapse file tree
java/src/org/openqa/selenium/manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232import java .nio .charset .StandardCharsets ;
3333import java .nio .file .Files ;
3434import java .nio .file .Path ;
35+ import java .util .ArrayList ;
3536import java .util .Arrays ;
3637import java .util .List ;
3738import java .util .logging .Logger ;
@@ -167,10 +168,9 @@ public String getDriverPath(Capabilities options) {
167168 if (binaryFile == null ) {
168169 return null ;
169170 }
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" ));
174174 if (!options .getBrowserVersion ().isEmpty ()) {
175175 commandList .addAll (Arrays .asList ("--browser-version" , options .getBrowserVersion ()));
176176 }
You can’t perform that action at this time.
0 commit comments