diff --git a/helpers/browserApi.js b/helpers/browserApi.js index d91ba85..60e1360 100644 --- a/helpers/browserApi.js +++ b/helpers/browserApi.js @@ -12,7 +12,8 @@ class PuppeteerApi { args: ["--no-sandbox", "--window-size=1920,1080", "--disable-infobars", "--disable-setuid-sandbox", "--start-maximized", "--use-gl=angle", "--use-angle=gl"], }); - const url = `${config.browserlessUrl}?token=8R1X54R235511&launch=${launchArgs}&blockAds=true` + const url = `${config.browserlessUrl}/?token=8R1X54R235511&launch=${launchArgs}&blockAds=true` + console.log(url); this.browser = await puppeteer.connect({ browserWSEndpoint: config.browserlessUrl, defaultViewport : null }) this.browser.on('disconnected', async () => { console.log('disconnected browser')