MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / grabHTMLFrom

Method grabHTMLFrom

lib/helper/Playwright.js:2766–2771  ·  view source on GitHub ↗

* {{> grabHTMLFrom }}

(locator)

Source from the content-addressed store, hash-verified

2764 * {{> grabHTMLFrom }}
2765 */
2766 async grabHTMLFrom(locator) {
2767 const html = await this.grabHTMLFromAll(locator)
2768 assertElementExists(html, locator)
2769 this.debugSection('HTML', html[0])
2770 return html[0]
2771 }
2772
2773 /**
2774 * {{> grabHTMLFromAll }}

Callers

nothing calls this directly

Calls 2

grabHTMLFromAllMethod · 0.95
assertElementExistsFunction · 0.70

Tested by

no test coverage detected