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

Function specSectionUrl

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

Source from the content-addressed store, hash-verified

1114// (e.g. '#command-network-addIntercept', '#event-network-beforeRequestSent') —
1115// matches the @see links Ruby's generator emits for the same commands/events.
1116function specSectionUrl(methodStr, kind) {
1117 const [domain, local] = methodStr.split('.')
1118 return `https://w3c.github.io/webdriver-bidi/#${kind}-${domain}-${local}`
1119}
1120
1121function generateClass({
1122 className,

Callers 2

generateEventDescriptorFunction · 0.85
generateCommandJsDocFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected