mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
fix(core): update maxRetries docs (#31810)
This commit is contained in:
parent
e86c8af599
commit
2cc4e14756
@ -134,7 +134,7 @@ Defaults to `20`. Pass `0` to not follow redirects.
|
||||
* since: v1.46
|
||||
- `maxRetries` <[int]>
|
||||
|
||||
Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
|
||||
## method: RequestOptions.setMethod
|
||||
* since: v1.18
|
||||
|
@ -469,7 +469,7 @@ Defaults to `20`. Pass `0` to not follow redirects.
|
||||
* langs: js, python, csharp
|
||||
- `maxRetries` <[int]>
|
||||
|
||||
Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
|
||||
## evaluate-expression
|
||||
- `expression` <[string]>
|
||||
|
24
packages/playwright-core/types/types.d.ts
vendored
24
packages/playwright-core/types/types.d.ts
vendored
@ -15934,8 +15934,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
@ -16040,8 +16040,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
@ -16126,8 +16126,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
@ -16212,8 +16212,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
@ -16340,8 +16340,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
@ -16426,8 +16426,8 @@ export interface APIRequestContext {
|
||||
maxRedirects?: number;
|
||||
|
||||
/**
|
||||
* Maximum number of times socket errors should be retried. Currently only `ECONNRESET` error is retried. An error
|
||||
* will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
* Maximum number of times network errors should be retried. Currently only `ECONNRESET` error is retried. Does not
|
||||
* retry based on HTTP response codes. An error will be thrown if the limit is exceeded. Defaults to `0` - no retries.
|
||||
*/
|
||||
maxRetries?: number;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user