diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md index abe51599c1..056a4c0484 100644 --- a/docs/src/api/class-frame.md +++ b/docs/src/api/class-frame.md @@ -697,6 +697,7 @@ Value to fill for the ``, `` or `[contenteditable]` element. ### option: Frame.fill.force = %%-input-force-%% ### option: Frame.fill.noWaitAfter = %%-input-no-wait-after-%% +### option: Frame.fill.strict = %%-input-strict-%% ### option: Frame.fill.timeout = %%-input-timeout-%% ## async method: Frame.focus diff --git a/types/types.d.ts b/types/types.d.ts index f3f0c918af..f1bd441e1d 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -3915,6 +3915,12 @@ export interface Frame { */ noWaitAfter?: boolean; + /** + * 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