MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / toJSON

Method toJSON

javascript/selenium-webdriver/lib/logging.js:641–647  ·  view source on GitHub ↗

* Converts this instance to its JSON representation. * @return {!Object } The JSON representation of this set of * preferences.

()

Source from the content-addressed store, hash-verified

639 * preferences.
640 */
641 toJSON() {
642 let json = {}
643 for (let key of this.prefs_.keys()) {
644 json[key] = this.prefs_.get(key).name
645 }
646 return json
647 }
648}
649
650// PUBLIC API

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
keysMethod · 0.45

Tested by

no test coverage detected