Skip to content

Commit

Permalink
console log url
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Apr 11, 2024
1 parent 616e707 commit d3bb59f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helpers/browserApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit d3bb59f

Please sign in to comment.