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

Method asMap

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

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

()

Source from the content-addressed store, hash-verified

125 * @returns {Map<string, any>} A map representation of the Header.
126 */
127 asMap() {
128 return new Map([
129 ['name', this.name],
130 ['value', Object.fromEntries(this.value.asMap())],
131 ])
132 }
133}
134
135/**

Callers

nothing calls this directly

Calls 1

asMapMethod · 0.65

Tested by

no test coverage detected