MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / bodyHas

Function bodyHas

e2e/desktop-packaged/linux-vm/repro.mjs:159–160  ·  view source on GitHub ↗
(cdp, text)

Source from the content-addressed store, hash-verified

157};
158
159const bodyHas = (cdp, text) =>
160 cdp.eval(`document.body && document.body.innerText.includes(${JSON.stringify(text)})`);
161
162const startForeignDaemon = (home, dataDir, port) =>
163 new Promise((resolve) => {

Callers 1

mainFunction · 0.85

Calls 1

evalMethod · 0.80

Tested by

no test coverage detected