Skip to content

Commit

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

0 comments on commit c21efaf

Please sign in to comment.