@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/dist/index.cjs +190 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +190 -0
- package/dist/index.js.map +2 -2
- package/index.d.ts +2 -0
- package/package.json +1 -1
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
|
}
|