MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / localSchemaName

Function localSchemaName

javascript/selenium-webdriver/generate_bidi.mjs:1155–1158  ·  view source on GitHub ↗
(name, tsNameFallback)

Source from the content-addressed store, hash-verified

1153// property name on its owning domain class, where the class already implies the
1154// domain (Network.InterceptPhase, not Network.NetworkInterceptPhase).
1155function localSchemaName(name, tsNameFallback) {
1156 const dotIdx = name.indexOf('.')
1157 return dotIdx === -1 ? tsNameFallback : normalizeDottedName(name.slice(dotIdx + 1))
1158}
1159
1160// A valid JS identifier for an enum constant's key, derived from its wire value.
1161// Unlike event/method names (always clean camelCase), some enum values are

Callers 1

generateDomainFileFunction · 0.85

Calls 1

normalizeDottedNameFunction · 0.85

Tested by

no test coverage detected