mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-06 01:17:33 +03:00
docs: spelling fix (#16842)
Co-authored-by: Ross A. Wollman <ross.wollman@gmail.com>
This commit is contained in:
parent
0e95d66878
commit
b93668e301
@ -27,7 +27,7 @@ value can be changed by using the [`method: BrowserContext.setDefaultTimeout`].
|
||||
- `strict` <[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.
|
||||
than one element, the call throws an exception.
|
||||
|
||||
## input-timeout
|
||||
- `timeout` <[float]>
|
||||
|
108
packages/playwright-core/types/types.d.ts
vendored
108
packages/playwright-core/types/types.d.ts
vendored
@ -1877,7 +1877,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -1959,7 +1959,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2075,7 +2075,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2131,7 +2131,7 @@ export interface Page {
|
||||
*/
|
||||
dispatchEvent(selector: string, type: string, eventInit?: EvaluationArgument, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2174,7 +2174,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2340,7 +2340,7 @@ export interface Page {
|
||||
noWaitAfter?: boolean;
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2364,7 +2364,7 @@ export interface Page {
|
||||
*/
|
||||
focus(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2430,7 +2430,7 @@ export interface Page {
|
||||
*/
|
||||
getAttribute(selector: string, name: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2592,7 +2592,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2619,7 +2619,7 @@ export interface Page {
|
||||
*/
|
||||
innerHTML(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2640,7 +2640,7 @@ export interface Page {
|
||||
*/
|
||||
innerText(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2664,7 +2664,7 @@ export interface Page {
|
||||
*/
|
||||
inputValue(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2685,7 +2685,7 @@ export interface Page {
|
||||
*/
|
||||
isChecked(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2711,7 +2711,7 @@ export interface Page {
|
||||
*/
|
||||
isDisabled(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2732,7 +2732,7 @@ export interface Page {
|
||||
*/
|
||||
isEditable(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2753,7 +2753,7 @@ export interface Page {
|
||||
*/
|
||||
isEnabled(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2775,7 +2775,7 @@ export interface Page {
|
||||
*/
|
||||
isHidden(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -2797,7 +2797,7 @@ export interface Page {
|
||||
*/
|
||||
isVisible(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3061,7 +3061,7 @@ export interface Page {
|
||||
noWaitAfter?: boolean;
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3282,7 +3282,7 @@ export interface Page {
|
||||
noWaitAfter?: boolean;
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3341,7 +3341,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3478,7 +3478,7 @@ export interface Page {
|
||||
noWaitAfter?: boolean;
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3577,7 +3577,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3604,7 +3604,7 @@ export interface Page {
|
||||
*/
|
||||
textContent(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3659,7 +3659,7 @@ export interface Page {
|
||||
noWaitAfter?: boolean;
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -3717,7 +3717,7 @@ export interface Page {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -4953,7 +4953,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5035,7 +5035,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5118,7 +5118,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5174,7 +5174,7 @@ export interface Frame {
|
||||
*/
|
||||
dispatchEvent(selector: string, type: string, eventInit?: EvaluationArgument, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5217,7 +5217,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5277,7 +5277,7 @@ 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
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5299,7 +5299,7 @@ export interface Frame {
|
||||
*/
|
||||
focus(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5353,7 +5353,7 @@ export interface Frame {
|
||||
*/
|
||||
getAttribute(selector: string, name: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5454,7 +5454,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5481,7 +5481,7 @@ export interface Frame {
|
||||
*/
|
||||
innerHTML(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5502,7 +5502,7 @@ export interface Frame {
|
||||
*/
|
||||
innerText(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5526,7 +5526,7 @@ export interface Frame {
|
||||
*/
|
||||
inputValue(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5547,7 +5547,7 @@ export interface Frame {
|
||||
*/
|
||||
isChecked(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5573,7 +5573,7 @@ export interface Frame {
|
||||
*/
|
||||
isDisabled(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5594,7 +5594,7 @@ export interface Frame {
|
||||
*/
|
||||
isEditable(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5615,7 +5615,7 @@ export interface Frame {
|
||||
*/
|
||||
isEnabled(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5637,7 +5637,7 @@ export interface Frame {
|
||||
*/
|
||||
isHidden(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5659,7 +5659,7 @@ export interface Frame {
|
||||
*/
|
||||
isVisible(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5753,7 +5753,7 @@ 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
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5839,7 +5839,7 @@ 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
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5895,7 +5895,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -5991,7 +5991,7 @@ 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
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -6052,7 +6052,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -6079,7 +6079,7 @@ export interface Frame {
|
||||
*/
|
||||
textContent(selector: string, options?: {
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -6129,7 +6129,7 @@ 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
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -6184,7 +6184,7 @@ export interface Frame {
|
||||
};
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -16595,7 +16595,7 @@ interface ElementHandleWaitForSelectorOptions {
|
||||
state?: "attached"|"detached"|"visible"|"hidden";
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
@ -16643,7 +16643,7 @@ interface PageWaitForSelectorOptions {
|
||||
state?: "attached"|"detached"|"visible"|"hidden";
|
||||
|
||||
/**
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
|
||||
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
|
||||
* element, the call throws an exception.
|
||||
*/
|
||||
strict?: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user