Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ addPage
Function
addPage
javascript/selenium-webdriver/lib/test/fileserver.js:42–46 ·
view source on GitHub ↗
(page, path)
Source
from the content-addressed store, hash-verified
40
let
pages = {}
41
42
function
addPage(page, path) {
43
pages.__defineGetter__(page,
function
() {
44
return
exports.whereIs(path)
45
})
46
}
47
48
addPage(
'ajaxyPage'
,
'ajaxy_page.html'
)
49
addPage(
'alertsPage'
,
'alerts.html'
)
Callers
1
fileserver.js
File · 0.85
Calls
1
whereIs
Method · 0.65
Tested by
no test coverage detected