diff --git a/pteer.js b/pteer.js index 59a6c828..28529877 100644 --- a/pteer.js +++ b/pteer.js @@ -40,7 +40,7 @@ function delayClick(time) { async function launchBrowserForUser(username, password) { try { const browser = await puppeteer.launch({ - headless: false, + headless: true, args: ["--no-sandbox", "--disable-setuid-sandbox"], //linux需要 defaultViewport: { width: 1280,