auto-chrome
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -46,3 +46,3 @@ const Event = require('./Event'); | ||
let awaitLoading = new zPromise({ time: 8000, message: '网页加载超时' }) | ||
let awaitLoading = new zPromise({ time: 15000, message: '网页加载超时' }) | ||
@@ -49,0 +49,0 @@ this.pages.set(targetId, { awaitLoading }) |
@@ -124,3 +124,3 @@ const debug = require('debug'); | ||
this.page.awaitLoading = new zPromise({ time: 8000, message: '网页加载超时' }) | ||
this.page.awaitLoading = new zPromise({ time: 15000, message: '网页加载超时' }) | ||
this.page.awaitLoading.catch(info => { | ||
@@ -127,0 +127,0 @@ signale.warn(info) |
@@ -141,3 +141,3 @@ const { assert, sleep } = require('./helper'); | ||
async type(text, options = {}) { | ||
let { delay = 60 } = options | ||
let { delay = 100 } = options | ||
for (const char of text) { | ||
@@ -144,0 +144,0 @@ if (keyDefinitions[char]) |
{ | ||
"name": "auto-chrome", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "使用Node.js操作Chrome或Chromium,高仿真的用户行为模拟器", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
566413