auto-chrome
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -5,2 +5,3 @@ "use strict"; | ||
const ChromeEvent = require('./ChromeEvent.js'); | ||
const childProcess = require('child_process'); | ||
@@ -131,4 +132,9 @@ class Chrome extends ChromeEvent { | ||
this.process.kill(); | ||
const { pid } = this.process; | ||
// 强制杀死进程 | ||
childProcess.execSync(`taskkill /pid ${pid} -f`); | ||
// this.process.kill(); | ||
} | ||
@@ -135,0 +141,0 @@ |
{ | ||
"name": "auto-chrome", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "使用Node.js操作Chrome或Chromium,高仿真的用户行为模拟器", | ||
@@ -5,0 +5,0 @@ "main": "lib/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84609
2001
2