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

Method grabValueFromAll

lib/helper/WebDriver.js:1480–1486  ·  view source on GitHub ↗

* {{> grabValueFromAll }} *

(locator)

Source from the content-addressed store, hash-verified

1478 *
1479 */
1480 async grabValueFromAll(locator) {
1481 const res = await this._locate(locator, true)
1482 const val = await forEachAsync(res, el => el.getValue())
1483 this.debugSection('GrabValue', String(val))
1484
1485 return val
1486 }
1487
1488 /**
1489 * {{> grabValueFrom }}

Callers 1

grabValueFromMethod · 0.95

Calls 3

_locateMethod · 0.95
forEachAsyncFunction · 0.85
getValueMethod · 0.80

Tested by

no test coverage detected