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

Method grabWebElements

lib/helper/WebDriver.js:1020–1023  ·  view source on GitHub ↗

* {{> grabWebElements }} *

(locator)

Source from the content-addressed store, hash-verified

1018 *
1019 */
1020 async grabWebElements(locator) {
1021 const elements = await this._locate(locator)
1022 return elements.map(element => new WebElement(element, this))
1023 }
1024
1025 /**
1026 * {{> grabWebElement }}

Callers

nothing calls this directly

Calls 1

_locateMethod · 0.95

Tested by

no test coverage detected