From b8c3efbf990a41d63ea423f34bf520cbd30026c0 Mon Sep 17 00:00:00 2001 From: Randolf J Date: Tue, 16 Aug 2022 09:46:49 +0200 Subject: [PATCH] fix: deprecate `root` in `WaitForSelectorOptions` --- src/common/IsolatedWorld.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/IsolatedWorld.ts b/src/common/IsolatedWorld.ts index 0550bfd10aba1..6699091688fdf 100644 --- a/src/common/IsolatedWorld.ts +++ b/src/common/IsolatedWorld.ts @@ -77,6 +77,9 @@ export interface WaitForSelectorOptions { * @defaultValue `30000` (30 seconds) */ timeout?: number; + /** + * @deprecated Do not use. Use the {@link ElementHandle.waitForSelector} + */ root?: ElementHandle; }