From b755705bf1e591a5a892f286975a6e91f1898d55 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 2 Sep 2021 16:58:56 +0200 Subject: [PATCH] fix(types): remove ElementHandle.setChecked strict parameter (#8653) --- docs/src/api/class-elementhandle.md | 1 - types/types.d.ts | 6 ------ 2 files changed, 7 deletions(-) diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md index af7edb3815..8ada198207 100644 --- a/docs/src/api/class-elementhandle.md +++ b/docs/src/api/class-elementhandle.md @@ -762,7 +762,6 @@ When all steps combined have not finished during the specified [`option: timeout ### option: ElementHandle.setChecked.force = %%-input-force-%% ### option: ElementHandle.setChecked.noWaitAfter = %%-input-no-wait-after-%% ### option: ElementHandle.setChecked.position = %%-input-position-%% -### option: ElementHandle.setChecked.strict = %%-input-strict-%% ### option: ElementHandle.setChecked.timeout = %%-input-timeout-%% ### option: ElementHandle.setChecked.trial = %%-input-trial-%% diff --git a/types/types.d.ts b/types/types.d.ts index ebc837dfea..d0f20410f9 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -8032,12 +8032,6 @@ export interface ElementHandle extends JSHandle { y: number; }; - /** - * When true, the call requires selector to resolve to a single element. If given selector resolves to more then one - * element, the call throws an exception. - */ - strict?: boolean; - /** * Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by * using the