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

Method asMap

javascript/selenium-webdriver/bidi/protocolValue.js:274–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 asMap() {
275 let toReturn = {}
276 toReturn[TYPE_CONSTANT] = this.type
277
278 if (!(this.type === PrimitiveType.NULL || this.type === PrimitiveType.UNDEFINED)) {
279 toReturn[VALUE_CONSTANT] = this.value
280 }
281 return toReturn
282 }
283}
284
285/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected