MCPcopy Create free account
hub / github.com/cloudflare/moltworker / getHTML

Function getHTML

skills/cloudflare-browser/scripts/cdp-client.js:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 },
119
120 async getHTML() {
121 const result = await send('Runtime.evaluate', {
122 expression: 'document.documentElement.outerHTML'
123 });
124 return result.result?.value;
125 },
126
127 async getText() {
128 const result = await send('Runtime.evaluate', {

Callers

nothing calls this directly

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected