Skip to content

Commit

Permalink
Make headless true.
Browse files Browse the repository at this point in the history
  • Loading branch information
amovar18 committed Jul 31, 2024
1 parent c354b5c commit 42e757d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class PuppeteerManagement {

async setup(extraArgs?: string[], defaultViewport?: Viewport) {
this.browser = await puppeteer.launch({
headless: false,
headless: true,
args: [...puppeteerArgs, ...(extraArgs || [])],
devtools: true,
defaultViewport: defaultViewport || null,
Expand Down

0 comments on commit 42e757d

Please sign in to comment.