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

Function schemaToCommands

javascript/selenium-webdriver/generate_bidi.mjs:626–628  ·  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

624
625/** Map the schema's commands to the generator's command-entry shape. */
626function schemaToCommands(schema) {
627 return schema.commands.map(schemaToCommand)
628}
629
630function schemaToCommand(c) {
631 return {

Callers 1

generateTypeScriptFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected