* {{> grabTextFromAll }} *
(locator)
| 1424 | * |
| 1425 | */ |
| 1426 | async grabTextFromAll(locator) { |
| 1427 | const res = await this._locate(locator, true) |
| 1428 | let val = [] |
| 1429 | await forEachAsync(res, async el => { |
| 1430 | const text = await this.browser.getElementText(getElementId(el)) |
| 1431 | val.push(text) |
| 1432 | }) |
| 1433 | this.debugSection('GrabText', String(val)) |
| 1434 | return val |
| 1435 | } |
| 1436 | |
| 1437 | /** |
| 1438 | * {{> grabTextFrom }} |
no test coverage detected