MCPcopy Create free account
hub / github.com/BuilderIO/SSDiff / puppeteer_browser_open

Method puppeteer_browser_open

packages/ssdiff/src/index.ts:100–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99 }
100 async puppeteer_browser_open() {
101 try {
102 if (!this.browser) {
103 this.browser = await puppeteer.launch(this.browserConfig);
104 }
105 } catch (e: any) {
106 throw new Error("Error while opening browser: " + e.message);
107 }
108 }
109 async puppeteer_browser_close() {
110 try {
111 if (this.browser) {

Callers 2

resultMethod · 0.95
ssdiff.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected