Skip to content

Commit

Permalink
fix(puppeteer): headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Sep 10, 2021
1 parent bdc4b5d commit 0c358db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/puppeteer-dance/libs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function openBrowser(url?: string) {

export async function getBrowser() {
const browser = await puppeteer.launch({
headless: false,
headless: true,
devtools: true,
args: common_args,
})
Expand Down
2 changes: 1 addition & 1 deletion packages/puppeteer-dance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppeteer-dance",
"version": "0.0.3",
"version": "0.0.4",
"description": "my cool project",
"repository": {
"url": "jiawen geng/puppeteer-dance",
Expand Down

0 comments on commit 0c358db

Please sign in to comment.