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

Method enableElementCacheCleanup

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

* Configures whether the driver should attempt to remove obsolete * plain webdriver.WebElement WebElements from its internal cache on * page navigation (true by default). Disabling this option will cause the * driver to run with a larger memory footprint. * * @param {boolean} e

(enable)

Source from the content-addressed store, hash-verified

171 * @return {!Options} A self reference.
172 */
173 enableElementCacheCleanup(enable) {
174 this.options_[Key.ENABLE_ELEMENT_CACHE_CLEANUP] = !!enable
175 return this
176 }
177
178 /**
179 * Configures whether to require the IE window to have input focus before

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected