()
| 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) { |
no outgoing calls
no test coverage detected