Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(types): remove ElementHandle.setChecked strict parameter (#8653)

Max Schmittb755705bf1e5
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<T=Node> extends JSHandle<T> {
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