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

Function getBrowserInstance

javascript/selenium-webdriver/bidi/browser.js:104–108  ·  view source on GitHub ↗
(driver)

Source from the content-addressed store, hash-verified

102}
103
104async function getBrowserInstance(driver) {
105 let instance = new Browser(driver)
106 await instance.init()
107 return instance
108}
109
110module.exports = getBrowserInstance
111module.exports.WindowState = WindowState

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected