MCPcopy
hub / github.com/virattt/dexter / browser.ts

File browser.ts

src/tools/browser/browser.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { DynamicStructuredTool } from '@langchain/core/tools';
2import { chromium, Browser, Page } from 'playwright';
3import { z } from 'zod';
4import { formatToolResult } from '../types.js';

Callers

nothing calls this directly

Calls 6

formatToolResultFunction · 0.85
ensureBrowserFunction · 0.85
takeSnapshotFunction · 0.85
resolveRefToLocatorFunction · 0.85
closeBrowserFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected