docs: add missing Frame.fill.strict (#7880)

This commit is contained in:
Yury Semikhatsky 2021-07-28 05:18:04 -07:00 committed by GitHub
parent cf09f8d5a8
commit bd1549075d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -697,6 +697,7 @@ Value to fill for the `<input>`, `<textarea>` 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

6
types/types.d.ts vendored
View file

@ -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