feat: 延长工具函数默认超时时间 (#2955)

* feat: 延长工具函数默认超时时间

* feat: 延长工具函数默认超时时间
This commit is contained in:
躁动的氨气
2026-03-03 21:54:40 +08:00
committed by GitHub
parent 317fc80fa9
commit 597098a476

View File

@@ -274,7 +274,7 @@ async function waitUntilImgAppear(
y = 0, y = 0,
w = 1920, w = 1920,
h = 1080, h = 1080,
timeout = 5000, timeout = 10000,
interval = 50 interval = 50
) { ) {
const start = Date.now(); const start = Date.now();
@@ -312,7 +312,7 @@ async function waitUntilImgDisappear(
y = 0, y = 0,
w = 1920, w = 1920,
h = 1080, h = 1080,
timeout = 5000, timeout = 10000,
interval = 50 interval = 50
) { ) {
const start = Date.now(); const start = Date.now();
@@ -350,7 +350,7 @@ async function waitUntilTextAppear(
y = 0, y = 0,
w = 1920, w = 1920,
h = 1080, h = 1080,
attempts = 5, attempts = 100,
interval = 50 interval = 50
) { ) {
const start = Date.now(); const start = Date.now();
@@ -389,7 +389,7 @@ async function waitUntilTextDisappear(
y = 0, y = 0,
w = 1920, w = 1920,
h = 1080, h = 1080,
attempts = 5, attempts = 100,
interval = 50 interval = 50
) { ) {
const start = Date.now(); const start = Date.now();