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

Method Module

java/src/org/openqa/selenium/bidi/Module.java:38–44  ·  view source on GitHub ↗
(WebDriver driver)

Source from the content-addressed store, hash-verified

36 private final Handle handle;
37
38 protected Module(WebDriver driver) {
39 Require.nonNull("WebDriver", driver);
40 if (!(driver instanceof HasBiDi)) {
41 throw new BiDiException("WebDriver does not support BiDi protocol");
42 }
43 this.handle = ((HasBiDi) driver).getHandle();
44 }
45
46 protected final <X> X send(Command<X> command) {
47 return handle.send(command);

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
getHandleMethod · 0.65

Tested by

no test coverage detected