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

Method grabHTMLFromAll

lib/helper/WebDriver.js:1455–1460  ·  view source on GitHub ↗

* {{> grabHTMLFromAll }} *

(locator)

Source from the content-addressed store, hash-verified

1453 *
1454 */
1455 async grabHTMLFromAll(locator) {
1456 const elems = await this._locate(locator, true)
1457 const html = await forEachAsync(elems, elem => elem.getHTML(false))
1458 this.debugSection('GrabHTML', String(html))
1459 return html
1460 }
1461
1462 /**
1463 * {{> grabHTMLFrom }}

Callers 1

grabHTMLFromMethod · 0.95

Calls 2

_locateMethod · 0.95
forEachAsyncFunction · 0.85

Tested by

no test coverage detected