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

Method grabValueFromAll

lib/helper/Puppeteer.js:2015–2022  ·  view source on GitHub ↗

* {{> grabValueFromAll }}

(locator)

Source from the content-addressed store, hash-verified

2013 * {{> grabValueFromAll }}
2014 */
2015 async grabValueFromAll(locator) {
2016 const els = await findFields.call(this, locator)
2017 const values = []
2018 for (const el of els) {
2019 values.push(await (await el.getProperty('value')).jsonValue())
2020 }
2021 return values
2022 }
2023
2024 /**
2025 * {{> grabValueFrom }}

Callers 1

grabValueFromMethod · 0.95

Calls 2

pushMethod · 0.80
getPropertyMethod · 0.80

Tested by

no test coverage detected