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

Function schemaToCommands

javascript/selenium-webdriver/generate_bidi.mjs:649–651  ·  view source on GitHub ↗

Map the schema's commands to the generator's command-entry shape.

(schema)

Source from the content-addressed store, hash-verified

647
648/** Map the schema's commands to the generator's command-entry shape. */
649function schemaToCommands(schema) {
650 return schema.commands.map(schemaToCommand)
651}
652
653function schemaToCommand(c) {
654 return {

Callers 1

generateTypeScriptFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected