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

Method ensureCleanSession

javascript/selenium-webdriver/ie.js:276–279  ·  view source on GitHub ↗

* Configures whether to clear the cache, cookies, history, and saved form data * before starting the browser. _Using this capability will clear session data * for all running instances of Internet Explorer, including those started * manually._ * * @param {boolean} cleanSession Whether

(cleanSession)

Source from the content-addressed store, hash-verified

274 * @return {!Options} A self reference.
275 */
276 ensureCleanSession(cleanSession) {
277 this.options_[Key.ENSURE_CLEAN_SESSION] = !!cleanSession
278 return this
279 }
280
281 /**
282 * Sets the path to the log file the driver should log to.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected