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

Function getNetworkInstance

javascript/selenium-webdriver/bidi/network.js:425–429  ·  view source on GitHub ↗
(driver, browsingContextIds = null)

Source from the content-addressed store, hash-verified

423}
424
425async function getNetworkInstance(driver, browsingContextIds = null) {
426 let instance = new Network(driver, browsingContextIds)
427 await instance.init()
428 return instance
429}
430
431module.exports = { Network: getNetworkInstance, CacheBehavior }

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected