Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ pin
Method
pin
javascript/selenium-webdriver/lib/script.js:115–118 ·
view source on GitHub ↗
(script)
Source
from the content-addressed store, hash-verified
113
}
114
115
async
pin(script) {
116
await
this.#initScript()
117
return
await
this.#script.addPreloadScript(script)
118
}
119
120
async
unpin(id) {
121
await
this.#initScript()
Callers
nothing calls this directly
Calls
2
#initScript
Method · 0.95
addPreloadScript
Method · 0.45
Tested by
no test coverage detected