diff --git a/helpers/browserApi.js b/helpers/browserApi.js index a2ec15a..9bdfab5 100644 --- a/helpers/browserApi.js +++ b/helpers/browserApi.js @@ -7,7 +7,7 @@ class PuppeteerApi { svgImage = null async createNewBrowser() { - this.browser = await puppeteer.connect({ browserWSEndpoint: config.browserlessUrl }) + this.browser = await puppeteer.connect({ browserWSEndpoint: config.browserlessUrl, defaultViewport : null }) this.browser.on('disconnected', async () => { console.log('disconnected browser') if (this.browser) await this.browser.close()