Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
159
const
bodyHas = (cdp, text) =>
160
cdp.eval(`document.body && document.body.innerText.includes(${JSON.stringify(text)})`);
161
162
const
startForeignDaemon = (home, dataDir, port) =>
163
new
Promise((resolve) => {
Callers
1
main
Function · 0.85
Calls
1
eval
Method · 0.80
Tested by
no test coverage detected