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

Method fromUri

java/src/org/openqa/selenium/net/Urls.java:53–59  ·  view source on GitHub ↗
(URI uri)

Source from the content-addressed store, hash-verified

51 }
52
53 public static URL fromUri(URI uri) {
54 try {
55 return uri.toURL();
56 } catch (MalformedURLException e) {
57 throw new UncheckedIOException(e);
58 }
59 }
60
61 /**
62 * Convert a string, which may just be a hostname, into a valid {@link URI}. If no scheme is

Callers 3

executeWithinServerMethod · 0.80
createHandlersMethod · 0.80
RemoteNodeMethod · 0.80

Calls 1

toURLMethod · 0.45

Tested by 1

executeWithinServerMethod · 0.64