MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / getHTML

Function getHTML

packages/webdriverio/src/scripts/getHTML.ts:10–12  ·  view source on GitHub ↗
(element: HTMLElement, includeSelectorTag: boolean)

Source from the content-addressed store, hash-verified

8 */
9
10export default function getHTML (element: HTMLElement, includeSelectorTag: boolean) {
11 return element[includeSelectorTag ? 'outerHTML' : 'innerHTML']
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…