Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ findByName
Function
findByName
javascript/selenium-webdriver/bidi/networkTypes.js:31–37 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
29
DEFAULT:
'default'
,
30
31
findByName(name) {
32
return
(
33
Object.values(this).find((
type
) => {
34
return
typeof
type
===
'string'
&& name.toLowerCase() ===
type
.toLowerCase()
35
}) || null
36
)
37
},
38
}
39
40
/**
Callers
nothing calls this directly
Calls
2
find
Method · 0.80
values
Method · 0.80
Tested by
no test coverage detected