* {{> grabHTMLFrom }} *
(locator)
| 1464 | * |
| 1465 | */ |
| 1466 | async grabHTMLFrom(locator) { |
| 1467 | const html = await this.grabHTMLFromAll(locator) |
| 1468 | assertElementExists(html, locator) |
| 1469 | if (html.length > 1) { |
| 1470 | this.debugSection('GrabHTML', `Using first element out of ${html.length}`) |
| 1471 | } |
| 1472 | |
| 1473 | return html[0] |
| 1474 | } |
| 1475 | |
| 1476 | /** |
| 1477 | * {{> grabValueFromAll }} |
nothing calls this directly
no test coverage detected