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

Function schemaToCommand

javascript/selenium-webdriver/generate_bidi.mjs:653–662  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

651}
652
653function schemaToCommand(c) {
654 return {
655 domain: c.domain,
656 methodStr: c.method,
657 methodName: c.name,
658 paramsTypeName: c.params ? normalizeDottedName(c.params.ref) : null,
659 hasParams: c.params !== null,
660 resultTypeName: c.result ? normalizeDottedName(c.result.ref) : null,
661 }
662}
663
664// ============================================================
665// Vendor variants (schema `vendor.<namespace>`)

Callers 1

buildVendorModulesFunction · 0.85

Calls 1

normalizeDottedNameFunction · 0.85

Tested by

no test coverage detected