MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / whereIs

Method whereIs

java/test/org/openqa/selenium/grid/gridui/Urls.java:30–32  ·  view source on GitHub ↗
(Server<?> server, String url)

Source from the content-addressed store, hash-verified

28 }
29
30 public static String whereIs(Server<?> server, String url) {
31 return getRelativeUrl(server.getUrl(), url).toString();
32 }
33
34 public static URL getRelativeUrl(URL base, String relativePath) {
35 if (relativePath.isEmpty() || "/".equals(relativePath)) {

Callers

nothing calls this directly

Calls 3

getRelativeUrlMethod · 0.95
toStringMethod · 0.65
getUrlMethod · 0.65

Tested by

no test coverage detected