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

Method requireWindowFocus

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

* Configures whether to require the IE window to have input focus before * performing any user interactions (i.e. mouse or keyboard events). This * option is disabled by default, but delivers much more accurate interaction * events when enabled. * * @param {boolean} require Whether to

(require)

Source from the content-addressed store, hash-verified

185 * @return {!Options} A self reference.
186 */
187 requireWindowFocus(require) {
188 this.options_[Key.REQUIRE_WINDOW_FOCUS] = !!require
189 return this
190 }
191
192 /**
193 * Configures the timeout, in milliseconds, that the driver will attempt to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected