* {{> grabTextFromAll }}
(locator)
| 1988 | * {{> grabTextFromAll }} |
| 1989 | */ |
| 1990 | async grabTextFromAll(locator) { |
| 1991 | const els = await this._locate(locator) |
| 1992 | const texts = [] |
| 1993 | for (const el of els) { |
| 1994 | texts.push(await (await el.getProperty('innerText')).jsonValue()) |
| 1995 | } |
| 1996 | return texts |
| 1997 | } |
| 1998 | |
| 1999 | /** |
| 2000 | * {{> grabTextFrom }} |
no test coverage detected