MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / init

Method init

javascript/selenium-webdriver/bidi/input.js:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 async init() {
33 if (!(await this._driver.getCapabilities()).get('webSocketUrl')) {
34 throw Error('WebDriver instance must support BiDi protocol')
35 }
36
37 this.bidi = await this._driver.getBidi()
38 }
39
40 /**
41 * Performs the specified actions on the given browsing context.

Callers 7

getInputInstanceFunction · 0.95
index.jsFile · 0.45
tFunction · 0.45
eFunction · 0.45
tinymce.min.jsFile · 0.45
qunit.jsFile · 0.45
browserevent.jsFile · 0.45

Calls 4

ErrorFunction · 0.85
getBidiMethod · 0.80
getMethod · 0.65
getCapabilitiesMethod · 0.65

Tested by

no test coverage detected