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

Method Event

java/src/org/openqa/selenium/devtools/Event.java:29–32  ·  view source on GitHub ↗
(String method, Function<JsonInput, X> mapper)

Source from the content-addressed store, hash-verified

27 private final Function<JsonInput, X> mapper;
28
29 public Event(String method, Function<JsonInput, X> mapper) {
30 this.method = Require.nonNull("Event method", method);
31 this.mapper = Require.nonNull("Result mapper", mapper);
32 }
33
34 public String getMethod() {
35 return method;

Callers

nothing calls this directly

Calls 1

nonNullMethod · 0.95

Tested by

no test coverage detected