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

Method asMap

javascript/selenium-webdriver/bidi/networkTypes.js:80–85  ·  view source on GitHub ↗

* Converts the BytesValue to a map. * @returns {Map } A map representation of the BytesValue.

()

Source from the content-addressed store, hash-verified

78 * @returns {Map<string, string>} A map representation of the BytesValue.
79 */
80 asMap() {
81 const map = new Map()
82 map.set('type', this._type)
83 map.set('value', this._value)
84 return map
85 }
86}
87
88/**

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected