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

Function schemaToCommand

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

Source from the content-addressed store, hash-verified

628}
629
630function schemaToCommand(c) {
631 return {
632 domain: c.domain,
633 methodStr: c.method,
634 methodName: c.name,
635 paramsTypeName: c.params ? normalizeDottedName(c.params.ref) : null,
636 hasParams: c.params !== null,
637 resultTypeName: c.result ? normalizeDottedName(c.result.ref) : null,
638 }
639}
640
641// ============================================================
642// Vendor variants (schema `vendor.<namespace>`)

Callers 1

buildVendorModulesFunction · 0.85

Calls 1

normalizeDottedNameFunction · 0.85

Tested by

no test coverage detected