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

Method options

java/src/org/openqa/selenium/remote/http/Route.java:117–122  ·  view source on GitHub ↗
(String template)

Source from the content-addressed store, hash-verified

115 }
116
117 public static TemplatizedRouteConfig options(String template) {
118 UrlTemplate urlTemplate = new UrlTemplate(Require.nonNull("URL template", template));
119
120 return new TemplatizedRouteConfig(
121 new MatchesHttpMethod(OPTIONS).and(new MatchesTemplate(urlTemplate)), urlTemplate);
122 }
123
124 public static NestedRouteConfig prefix(String prefix) {
125 Require.nonNull("Prefix", prefix);

Callers 2

graphqlRouteMethod · 0.95
NewSessionQueueMethod · 0.45

Calls 2

nonNullMethod · 0.95
andMethod · 0.80

Tested by

no test coverage detected