Browse Source

去掉浏览器参数
Signed-off-by: caner <5658514@qq.com>

caner 3 years ago
parent
commit
06d782a66e
2 changed files with 1 additions and 1 deletions
  1. BIN
      index.exe
  2. 1 1
      index.js

BIN
index.exe


+ 1 - 1
index.js

@@ -50,7 +50,7 @@ const getData = async (browser, page, time) => {
         headless: true,
         timeout: 0,
         defaultViewport: { width: 1920, height: 1080 },
-        executablePath:'./chrome/chrome.exe'
+        // executablePath:'./chrome/chrome.exe' //无浏览器可以不启用
     });
 
     // login