@skrillex1224/playwright-toolkit 2.1.165 → 2.1.166

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
@@ -516,6 +516,8 @@ export interface MutationModule {
516
516
  Mode: MutationModeConstants;
517
517
  /** 等待 DOM 元素稳定(无变化) */
518
518
  waitForStable(page: Page, selectors: string | string[], options?: WaitForStableOptions): Promise<WaitForStableResult>;
519
+ /** 等待跨 root DOM 元素稳定(主文档 + iframe 内容) */
520
+ waitForStableAcrossRoots(page: Page, selectors: string | string[], options?: WaitForStableOptions): Promise<WaitForStableResult>;
519
521
  /** 创建持续监控 DOM 变化的监控器,selectors 支持 'document.documentElement' */
520
522
  useMonitor(page: Page, selectors: string | string[], options?: useMonitorOptions): Promise<MutationMonitor>;
521
523
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.165",
3
+ "version": "2.1.166",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",