@@ -21,11 +21,8 @@ public class LocalGridOptions {
21
21
@ Parameter (names = "-port" , description = "Port for local hub server" )
22
22
private Integer port ;
23
23
24
- @ Parameter (names = "-hubServlets" , description = "Comma-delimited list of fully-qualified servlet classes to install on the hub server" )
25
- private String hubServlets ;
26
-
27
- @ Parameter (names = "-nodeServlets" , description = "Comma-delimited list of fully-qualified servlet classes to install on the node servers" )
28
- private String nodeServlets ;
24
+ @ Parameter (names = "-gridServlets" , description = "Comma-delimited list of fully-qualified servlet classes to install" )
25
+ private String gridServlets ;
29
26
30
27
@ Parameter (names = "-shutdown" , description = "Shutdown active local Grid" )
31
28
private boolean shutdown = false ;
@@ -84,11 +81,8 @@ public void injectSettings() {
84
81
if (port != null ) {
85
82
System .setProperty (SeleniumSettings .HUB_PORT .key (), port .toString ());
86
83
}
87
- if (hubServlets != null ) {
88
- System .setProperty (SeleniumSettings .HUB_SERVLETS .key (), hubServlets );
89
- }
90
- if (nodeServlets != null ) {
91
- System .setProperty (SeleniumSettings .NODE_SERVLETS .key (), nodeServlets );
84
+ if (gridServlets != null ) {
85
+ System .setProperty (SeleniumSettings .GRID_SERVLETS .key (), gridServlets );
92
86
}
93
87
if (workingDir != null ) {
94
88
workingFolder = workingDir .toString ();
0 commit comments