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

Method setUserPreferences

javascript/selenium-webdriver/chromium.js:366–369  ·  view source on GitHub ↗

* Sets the user preferences for Chrome's user profile. See the "Preferences" * file in Chrome's user data directory for examples. * @param {!Object} prefs Dictionary of user preferences to use. * @return {!Options} A self reference.

(prefs)

Source from the content-addressed store, hash-verified

364 * @return {!Options} A self reference.
365 */
366 setUserPreferences(prefs) {
367 this.options_.prefs = prefs
368 return this
369 }
370
371 /**
372 * Sets the performance logging preferences. Options include:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected