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

Function localSchemaName

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

Source from the content-addressed store, hash-verified

1083// property name on its owning domain class, where the class already implies the
1084// domain (Network.InterceptPhase, not Network.NetworkInterceptPhase).
1085function localSchemaName(name, tsNameFallback) {
1086 const dotIdx = name.indexOf('.')
1087 return dotIdx === -1 ? tsNameFallback : normalizeDottedName(name.slice(dotIdx + 1))
1088}
1089
1090// A valid JS identifier for an enum constant's key, derived from its wire value.
1091// 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