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