Skip to content

Commit

Permalink
chore(puppeteer) Log the browser version used in puppeteer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rheeseyb committed Dec 12, 2023
1 parent 522b05d commit d3024f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions puppeteer-tests/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export const setupBrowser = async (
page.setDefaultNavigationTimeout(120000)
page.setDefaultTimeout(defaultTimeout)
await page.setViewport({ width: 1500, height: 768 })
const browserVersion = await browser.version()
console.info('setup browser with version:', browserVersion)
console.info('loading editor at URL:', url)
await page.goto(url)
return {
Expand Down

0 comments on commit d3024f1

Please sign in to comment.