MCPcopy 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
3594function buildRoleSelector(resolved) {
3595 return `::-p-aria([role="${resolved.role}"])`
3596}
3597
3598function createRoleTextMatcher(expected, exactMatch) {
3599 if (expected instanceof RegExp) {

Callers 1

findByRoleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected