MCPcopy
hub / github.com/remix-run/react-router / getHtml

Method getHtml

integration/helpers/playwright-fixture.ts:205–207  ·  view source on GitHub ↗

* Get HTML from the page. Useful for asserting something rendered that * you expected. * * @param selector CSS Selector for the element's HTML you want

(selector?: string)

Source from the content-addressed store, hash-verified

203 * @param selector CSS Selector for the element's HTML you want
204 */
205 getHtml(selector?: string) {
206 return getHtml(this.page, selector);
207 }
208
209 /**
210 * Get a cheerio instance of an element from the page.

Callers 15

runTestsFunction · 0.95
runFormTestsFunction · 0.95
runTestsFunction · 0.95
rendering-test.tsFile · 0.80
transition-test.tsFile · 0.80
root-route-test.tsFile · 0.80
matches-test.tsFile · 0.80
waitForAndAssertFunction · 0.80
action-test.tsFile · 0.80

Calls 1

getHtmlFunction · 0.70

Tested by

no test coverage detected