@@ -54,7 +54,7 @@ public void prepare() throws Exception {
54
54
SelfRegisteringRemote remote =
55
55
GridTestHelper .getRemoteWithoutCapabilities (hub , GridRole .NODE );
56
56
57
- remote .addBrowser (DesiredCapabilities .chrome (), 3 );
57
+ remote .addBrowser (DesiredCapabilities .htmlUnit (), 3 );
58
58
remote .setRemoteServer (new SeleniumServer (remote .getConfiguration ()));
59
59
remote .startRemoteServer ();
60
60
remote .sendRegistrationRequest ();
@@ -66,7 +66,7 @@ public void prepare() throws Exception {
66
66
@ Ignore ("Times out" )
67
67
public void testLoadIsDistributedEvenly () throws MalformedURLException {
68
68
for (int i =0 ; i < 8 ; i ++) {
69
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
69
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
70
70
}
71
71
72
72
ProxySet ps = hub .getRegistry ().getAllProxies ();
@@ -82,7 +82,7 @@ public void testLoadIsDistributedEvenly() throws MalformedURLException {
82
82
}
83
83
84
84
for (int i =0 ; i < 8 ; i ++) {
85
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
85
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
86
86
}
87
87
88
88
for (RemoteProxy p : ps ) {
@@ -95,7 +95,7 @@ public void testLoadIsDistributedEvenly() throws MalformedURLException {
95
95
Assert .assertEquals ("checking proxy free slots, all should have two sessions running" , freeslots , 1 );
96
96
}
97
97
98
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
98
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
99
99
100
100
Boolean foundOneFull = false ;
101
101
for (RemoteProxy p : ps ) {
@@ -121,7 +121,7 @@ public void testLeastRecentlyUsedNodesPickedFirst() throws Throwable {
121
121
ProxySet ps = hub .getRegistry ().getAllProxies ();
122
122
123
123
for (int i =0 ; i < 4 ; i ++) {
124
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
124
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
125
125
}
126
126
127
127
Set <String > chosenNodes = new HashSet <>();
@@ -138,7 +138,7 @@ public void testLeastRecentlyUsedNodesPickedFirst() throws Throwable {
138
138
stopDrivers (drivers );
139
139
140
140
for (int i =0 ; i < 4 ; i ++) {
141
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
141
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
142
142
}
143
143
144
144
for (RemoteProxy p : ps ) {
@@ -165,7 +165,7 @@ public void testLeastRecentlyUsedNodesPickedFirst() throws Throwable {
165
165
stopDrivers (drivers );
166
166
167
167
for (int i =0 ; i < 4 ; i ++) {
168
- drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .chrome (), hub ));
168
+ drivers .add (GridTestHelper .getRemoteWebDriver (DesiredCapabilities .htmlUnit (), hub ));
169
169
}
170
170
171
171
for (RemoteProxy p : ps ) {
0 commit comments