Skip to content

Commit 0106900

Browse files
committed
Switch to using the chromedriver by default for the core self tests
At some point, we should always use every valid browser
1 parent 54f5be7 commit 0106900

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

java/server/test/org/openqa/selenium/server/htmlrunner/CoreSelfTest.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.junit.runners.Parameterized;
3131
import org.openqa.selenium.Platform;
3232
import org.openqa.selenium.environment.webserver.AppServer;
33+
import org.openqa.selenium.os.CommandLine;
3334

3435
import java.io.File;
3536
import java.io.IOException;
@@ -77,9 +78,13 @@ public void executeTests() throws IOException {
7778
public static Iterable<String> parameters() {
7879
ImmutableSortedSet.Builder<String> browsers = ImmutableSortedSet.naturalOrder();
7980

80-
// if (CommandLine.find("wires") != null) {
81-
browsers.add("*firefox");
82-
// }
81+
if (CommandLine.find("chromedriver") != null) {
82+
browsers.add("*googlechrome");
83+
}
84+
85+
if (CommandLine.find("wires") != null) {
86+
// browsers.add("*firefox");
87+
}
8388

8489
switch (Platform.getCurrent().family()) {
8590
case MAC:

0 commit comments

Comments
 (0)