Skip to content

Commit

Permalink
Update ScreenshotUtils.ts to set headless value to "new".
Browse files Browse the repository at this point in the history
  • Loading branch information
nfacha committed Jul 24, 2023
1 parent b659c36 commit 4fc471e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/ScreenshotUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ScreenshotUtils {
width: 1920,
height: 1080,
},
headless: true,
headless: "new"
})
.then(async (browser: Browser) => {
const page = await browser.newPage();
Expand Down Expand Up @@ -43,7 +43,7 @@ export class ScreenshotUtils {
width: 1920,
height: 1080,
},
headless: true,
headless: "new"
})
.then(async (browser: Browser) => {
const page = await browser.newPage();
Expand Down

0 comments on commit 4fc471e

Please sign in to comment.