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

Function envelope

javascript/selenium-webdriver/project_bidi_schema_test.mjs:281–281  ·  view source on GitHub ↗
(resultRef)

Source from the content-addressed store, hash-verified

279
280 // The response envelope is a record pairing a `result` union with the request `id`.
281 const envelope = (resultRef) => group('x.CommandResponse', [field('id', ['uint']), field('result', [ref(resultRef)])])
282
283 it('marks an undispatchable result-grouping union (reached via `result`) as correlated', () => {
284 // CommandResponse.result -> x.ResultData, a union of result records that cannot

Callers 1

Calls 3

groupFunction · 0.85
fieldFunction · 0.70
refFunction · 0.70

Tested by

no test coverage detected