MCPcopy
hub / github.com/codeceptjs/CodeceptJS / blur

Method blur

lib/helper/Puppeteer.js:873–881  ·  view source on GitHub ↗

* {{> blur }} *

(locator)

Source from the content-addressed store, hash-verified

871 *
872 */
873 async blur(locator) {
874 const el = await this._locateElement(locator)
875 if (!el) {
876 throw new ElementNotFound(locator, 'Element to blur')
877 }
878
879 await blurElement(el, this.page)
880 return this._waitForAction()
881 }
882
883 /**
884 * {{> dragAndDrop }}

Callers 6

forceClickMethod · 0.45
clientSideBlurFnFunction · 0.45
testsFunction · 0.45

Calls 3

_locateElementMethod · 0.95
_waitForActionMethod · 0.95
blurElementFunction · 0.90

Tested by

no test coverage detected