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

Function ensure

javascript/selenium-webdriver/generate_bidi.mjs:603–603  ·  view source on GitHub ↗
(domain)

Source from the content-addressed store, hash-verified

601 const model = {}
602 const resultTypes = buildResultTypeNames(ast)
603 const ensure = (domain) => (model[domain] ??= { commands: [], events: [] })
604
605 // A vendor entry carries its namespace so the schema projector can file it under
606 // `vendor.<namespace>`; spec entries carry none, so a vendor-free AST yields the same model.

Callers 1

buildModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected