Skip to content

Commit

Permalink
[grid] Improving Relay service description for docs
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
diemol committed Oct 12, 2021
1 parent ed5dff7 commit 18e1d42
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,30 @@ public class RelayFlags implements HasRoles {

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

@Parameter(
names = {"--service-host"},
description = "Host name where the service is running"
description = "Host name where the service that supports WebDriver commands is running"
)
@ConfigValue(section = RELAY_SECTION, name = "host", example = "\"localhost\"")
private String serviceHost;

@Parameter(
names = {"--service-port"},
description = "Port where the service is running"
description = "Port where the service that supports WebDriver commands is running"
)
@ConfigValue(section = RELAY_SECTION, name = "port", example = "67853")
@ConfigValue(section = RELAY_SECTION, name = "port", example = "4723")
private Integer servicePort;

@Parameter(
names = {"--service-status-endpoint"},
description = "Endpoint to query the service status, an HTTP 200 response is expected"
description = "Endpoint to query the WebDriver service status, an HTTP 200 response "
+ "is expected"
)
@ConfigValue(section = RELAY_SECTION, name = "status-endpoint", example = "\"/status\"")
private String serviceStatusEndpoint;
Expand Down

0 comments on commit 18e1d42

Please sign in to comment.