Skip to content

Commit 413bcbc

Browse files
committed
server: Restoring HtmlUnitDriver on server, it is used in grid tests as an invisible test browser
1 parent 413864b commit 413bcbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/server/src/org/openqa/selenium/remote/server/DefaultDriverSessions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public class DefaultDriverSessions implements DriverSessions {
6161
"org.openqa.selenium.safari.SafariDriver"))
6262
.add(new DefaultDriverProvider(DesiredCapabilities.phantomjs(),
6363
"org.openqa.selenium.phantomjs.PhantomJSDriver"))
64+
.add(new DefaultDriverProvider(DesiredCapabilities.htmlUnit(),
65+
"org.openqa.selenium.htmlunit.HtmlUnitDriver"))
6466
.build();
6567

6668
public DefaultDriverSessions() {

0 commit comments

Comments
 (0)