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

Method toSimplifiedHTML

lib/element/WebElement.js:514–517  ·  view source on GitHub ↗
(maxLength = 300)

Source from the content-addressed store, hash-verified

512 }
513
514 async toSimplifiedHTML(maxLength = 300) {
515 const outerHTML = await this.toOuterHTML()
516 return simplifyHtmlElement(outerHTML, maxLength)
517 }
518
519 /**
520 * Plain-object snapshot of the element — text, simplified HTML, visibility,

Callers 3

describeMethod · 0.95
fetchDetailsMethod · 0.80
els_test.jsFile · 0.80

Calls 2

toOuterHTMLMethod · 0.95
simplifyHtmlElementFunction · 0.90

Tested by 1

describeMethod · 0.76