* {{> grabValueFrom }} *
(locator)
| 1490 | * |
| 1491 | */ |
| 1492 | async grabValueFrom(locator) { |
| 1493 | const values = await this.grabValueFromAll(locator) |
| 1494 | assertElementExists(values, locator) |
| 1495 | if (values.length > 1) { |
| 1496 | this.debugSection('GrabValue', `Using first element out of ${values.length}`) |
| 1497 | } |
| 1498 | |
| 1499 | return values[0] |
| 1500 | } |
| 1501 | |
| 1502 | /** |
| 1503 | * {{> grabCssPropertyFromAll }} |
nothing calls this directly
no test coverage detected