MCPcopy
hub / github.com/virattt/dexter / closeBrowser

Function closeBrowser

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

* Close the browser and reset state.

()

Source from the content-addressed store, hash-verified

148 * Close the browser and reset state.
149 */
150async function closeBrowser(): Promise<void> {
151 if (browser) {
152 await browser.close();
153 browser = null;
154 page = null;
155 currentRefs.clear();
156 }
157}
158
159/**
160 * Parse refs from the AI snapshot format.

Callers 1

browser.tsFile · 0.85

Calls 2

closeMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected