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

Method DevTools

java/src/org/openqa/selenium/devtools/DevTools.java:52–55  ·  view source on GitHub ↗
(Function<DevTools, Domains> protocol, Connection connection)

Source from the content-addressed store, hash-verified

50 private volatile @Nullable SessionID cdpSession;
51
52 public DevTools(Function<DevTools, Domains> protocol, Connection connection) {
53 this.connection = Require.nonNull("WebSocket connection", connection);
54 this.protocol = Require.nonNull("CDP protocol", protocol).apply(this);
55 }
56
57 public Domains getDomains() {
58 return protocol;

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
applyMethod · 0.45

Tested by

no test coverage detected