Skip to content

Commit 18e1d42

Browse files
committed
[grid] Improving Relay service description for docs
[skip ci]
1 parent ed5dff7 commit 18e1d42

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,30 @@ public class RelayFlags implements HasRoles {
3737

3838
@Parameter(
3939
names = {"--service-url"},
40-
description = "URL for connecting to the service"
40+
description = "URL for connecting to the service that supports WebDriver commands, "
41+
+ "like an Appium server or a cloud service."
4142
)
42-
@ConfigValue(section = RELAY_SECTION, name = "url", example = "http://localhost:67853")
43+
@ConfigValue(section = RELAY_SECTION, name = "url", example = "http://localhost:4723")
4344
private String serviceUrl;
4445

4546
@Parameter(
4647
names = {"--service-host"},
47-
description = "Host name where the service is running"
48+
description = "Host name where the service that supports WebDriver commands is running"
4849
)
4950
@ConfigValue(section = RELAY_SECTION, name = "host", example = "\"localhost\"")
5051
private String serviceHost;
5152

5253
@Parameter(
5354
names = {"--service-port"},
54-
description = "Port where the service is running"
55+
description = "Port where the service that supports WebDriver commands is running"
5556
)
56-
@ConfigValue(section = RELAY_SECTION, name = "port", example = "67853")
57+
@ConfigValue(section = RELAY_SECTION, name = "port", example = "4723")
5758
private Integer servicePort;
5859

5960
@Parameter(
6061
names = {"--service-status-endpoint"},
61-
description = "Endpoint to query the service status, an HTTP 200 response is expected"
62+
description = "Endpoint to query the WebDriver service status, an HTTP 200 response "
63+
+ "is expected"
6264
)
6365
@ConfigValue(section = RELAY_SECTION, name = "status-endpoint", example = "\"/status\"")
6466
private String serviceStatusEndpoint;

0 commit comments

Comments
 (0)