From 18e1d429562ef77588ca237cc800da705664410c Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Tue, 12 Oct 2021 09:50:54 +0200 Subject: [PATCH] [grid] Improving Relay service description for docs [skip ci] --- .../selenium/grid/node/relay/RelayFlags.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java b/java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java index 3e83e5355fc2e..0fee0eefcc900 100644 --- a/java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java +++ b/java/src/org/openqa/selenium/grid/node/relay/RelayFlags.java @@ -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;