mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
feat: 增快鼠标移动速度 (ref #13)
This commit is contained in:
@@ -108,7 +108,7 @@ export async function gotoWithCheck(page, url, options = {}) {
|
||||
const { timeout = TIMEOUTS.NAVIGATION } = options;
|
||||
try {
|
||||
const response = await page.goto(url, {
|
||||
waitUntil: 'domcontentloaded',
|
||||
waitUntil: 'load',
|
||||
timeout
|
||||
});
|
||||
if (!response) {
|
||||
|
||||
Reference in New Issue
Block a user