@skrillex1224/playwright-toolkit 2.1.56 → 2.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -401,9 +401,11 @@ export interface OnMutationContext {
401
401
  }
402
402
 
403
403
  export interface WaitForStableOptions {
404
+ /** 等待元素出现的超时 (毫秒, 默认: 30000) */
405
+ initialTimeout?: number;
404
406
  /** 无变化持续时间后 resolve (毫秒, 默认: 5000) */
405
407
  stableTime?: number;
406
- /** 整体超时时间 (毫秒, 默认: 60000) */
408
+ /** 整体超时时间 (毫秒, 默认: 120000) */
407
409
  timeout?: number;
408
410
  /** 变化时的回调钩子
409
411
  * 返回 null/undefined: 正常重置稳定计时
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.56",
3
+ "version": "2.1.57",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",