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

Function specSectionUrl

javascript/selenium-webdriver/generate_bidi.mjs:1186–1189  ·  view source on GitHub ↗
(methodStr, kind)

Source from the content-addressed store, hash-verified

1184// (e.g. '#command-network-addIntercept', '#event-network-beforeRequestSent') —
1185// matches the @see links Ruby's generator emits for the same commands/events.
1186function specSectionUrl(methodStr, kind) {
1187 const [domain, local] = methodStr.split('.')
1188 return `https://w3c.github.io/webdriver-bidi/#${kind}-${domain}-${local}`
1189}
1190
1191function generateClass({
1192 className,

Callers 2

generateEventDescriptorFunction · 0.85
generateCommandJsDocFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected