MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / blur

Method blur

lib/helper/WebDriver.js:2332–2338  ·  view source on GitHub ↗

* {{> blur }} *

(locator)

Source from the content-addressed store, hash-verified

2330 *
2331 */
2332 async blur(locator) {
2333 const els = await this._locate(locator)
2334 assertElementExists(els, locator, 'Element to blur')
2335 const el = usingFirstElement(els)
2336
2337 await blurElement(el, this.browser)
2338 }
2339
2340 /**
2341 * Appium: not tested

Callers 2

forceClickMethod · 0.45
forceRightClickMethod · 0.45

Calls 4

_locateMethod · 0.95
blurElementFunction · 0.90
usingFirstElementFunction · 0.85
assertElementExistsFunction · 0.70

Tested by

no test coverage detected