Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ updateHtml
Function
updateHtml
test/browser/fixtures/locators-custom/basic.test.tsx:21–23 ·
view source on GitHub ↗
(this: Locator, html)
Source
from the content-addressed store, hash-verified
19
return `[data-parent] >> [data-title=
"${title}"
]`
20
},
21
async updateHtml(this: Locator, html) {
22
this.element().innerHTML = html
23
},
24
async updateDocumentHtml(html) {
25
document.body.innerHTML = html
26
},
Callers
nothing calls this directly
Calls
1
element
Method · 0.80
Tested by
no test coverage detected