Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
104
async
function
getBrowserInstance(driver) {
105
let
instance =
new
Browser(driver)
106
await
instance.init()
107
return
instance
108
}
109
110
module.exports = getBrowserInstance
111
module.exports.WindowState = WindowState
Callers
nothing calls this directly
Calls
1
init
Method · 0.95
Tested by
no test coverage detected