docs: clarify locator.evaluate{,Handle} timeout option (#35319)
This commit is contained in:
parent
8eea065aeb
commit
b3d19e2f80
|
@ -883,11 +883,19 @@ If [`param: expression`] throws or rejects, this method throws.
|
|||
|
||||
Optional argument to pass to [`param: expression`].
|
||||
|
||||
### option: Locator.evaluate.timeout = %%-input-timeout-%%
|
||||
### option: Locator.evaluate.timeout
|
||||
* since: v1.14
|
||||
* langs: python, java, csharp
|
||||
- `timeout` <[float]>
|
||||
|
||||
### option: Locator.evaluate.timeout = %%-input-timeout-js-%%
|
||||
Maximum time in milliseconds to wait for the locator before evaluating. Note that after locator is resolved, evaluation itself is not limited by the timeout. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
|
||||
|
||||
### option: Locator.evaluate.timeout
|
||||
* since: v1.14
|
||||
* langs: js
|
||||
- `timeout` <[float]>
|
||||
|
||||
Maximum time in milliseconds to wait for the locator before evaluating. Note that after locator is resolved, evaluation itself is not limited by the timeout. Defaults to `0` - no timeout.
|
||||
|
||||
## async method: Locator.evaluateAll
|
||||
* since: v1.14
|
||||
|
@ -972,11 +980,19 @@ See [`method: Page.evaluateHandle`] for more details.
|
|||
|
||||
Optional argument to pass to [`param: expression`].
|
||||
|
||||
### option: Locator.evaluateHandle.timeout = %%-input-timeout-%%
|
||||
### option: Locator.evaluateHandle.timeout
|
||||
* since: v1.14
|
||||
* langs: python, java, csharp
|
||||
- `timeout` <[float]>
|
||||
|
||||
### option: Locator.evaluateHandle.timeout = %%-input-timeout-js-%%
|
||||
Maximum time in milliseconds to wait for the locator before evaluating. Note that after locator is resolved, evaluation itself is not limited by the timeout. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
|
||||
|
||||
### option: Locator.evaluateHandle.timeout
|
||||
* since: v1.14
|
||||
* langs: js
|
||||
- `timeout` <[float]>
|
||||
|
||||
Maximum time in milliseconds to wait for the locator before evaluating. Note that after locator is resolved, evaluation itself is not limited by the timeout. Defaults to `0` - no timeout.
|
||||
|
||||
## async method: Locator.fill
|
||||
* since: v1.14
|
||||
|
|
Loading…
Reference in New Issue