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

Method grabTextFromAll

lib/helper/Playwright.js:2736–2743  ·  view source on GitHub ↗

* {{> grabTextFromAll }} *

(locator)

Source from the content-addressed store, hash-verified

2734 *
2735 */
2736 async grabTextFromAll(locator) {
2737 const els = await this._locate(locator)
2738 const texts = []
2739 for (const el of els) {
2740 texts.push(await el.innerText())
2741 }
2742 return texts
2743 }
2744
2745 /**
2746 * {{> grabValueFrom }}

Callers

nothing calls this directly

Calls 2

_locateMethod · 0.95
pushMethod · 0.80

Tested by

no test coverage detected