From d9bcb0b17044ff4a085cf6021ec63c286d8f36d1 Mon Sep 17 00:00:00 2001 From: Yusuke Iwaki Date: Sat, 4 Sep 2021 00:37:19 +0900 Subject: [PATCH] fix(types): remove `strict` param from Locator.setChecked (#8676) --- docs/src/api/class-locator.md | 1 - types/types.d.ts | 6 ------ 2 files changed, 7 deletions(-) diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md index 1ac7e78c07..19efa9ecf6 100644 --- a/docs/src/api/class-locator.md +++ b/docs/src/api/class-locator.md @@ -834,7 +834,6 @@ When all steps combined have not finished during the specified [`option: timeout ### option: Locator.setChecked.force = %%-input-force-%% ### option: Locator.setChecked.noWaitAfter = %%-input-no-wait-after-%% ### option: Locator.setChecked.position = %%-input-position-%% -### option: Locator.setChecked.strict = %%-input-strict-%% ### option: Locator.setChecked.timeout = %%-input-timeout-%% ### option: Locator.setChecked.trial = %%-input-trial-%% diff --git a/types/types.d.ts b/types/types.d.ts index d3f239d7ef..f3808ea058 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -9286,12 +9286,6 @@ export interface Locator { 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