Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ buildRoleSelector
Function
buildRoleSelector
lib/helper/Puppeteer.js:3594–3596 ·
view source on GitHub ↗
(resolved)
Source
from the content-addressed store, hash-verified
3592
}
3593
3594
function
buildRoleSelector(resolved) {
3595
return
`::-p-aria([role=
"${resolved.role}"
])`
3596
}
3597
3598
function
createRoleTextMatcher(expected, exactMatch) {
3599
if
(expected instanceof RegExp) {
Callers
1
findByRole
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected