Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jackwener/OpenCLI
/ page.test.ts
File
page.test.ts
src/browser/page.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it, vi } from
'vitest'
;
2
3
const
{ sendCommandMock, sendCommandFullMock } = vi.hoisted(() => ({
4
sendCommandMock: vi.fn(),
Callers
nothing calls this directly
Calls
15
getCurrentUrl
Method · 0.80
querySelector
Method · 0.80
goto
Method · 0.65
evaluate
Method · 0.65
startNetworkCapture
Method · 0.65
readNetworkCapture
Method · 0.65
waitForDownload
Method · 0.65
handleJavaScriptDialog
Method · 0.65
getActivePage
Method · 0.65
selectTab
Method · 0.65
setActivePage
Method · 0.65
newTab
Method · 0.65
Tested by
no test coverage detected