fix(docs): broken link to method (#5669)
This commit is contained in:
parent
f637b0302d
commit
f925a033e2
|
|
@ -517,7 +517,7 @@ Optional argument to pass to [`param: expression`].
|
||||||
Returns the return value of [`param: expression`] as a [JSHandle].
|
Returns the return value of [`param: expression`] as a [JSHandle].
|
||||||
|
|
||||||
The only difference between [`method: Frame.evaluate`] and [`method: Frame.evaluateHandle`] is that
|
The only difference between [`method: Frame.evaluate`] and [`method: Frame.evaluateHandle`] is that
|
||||||
[method: Frame.evaluateHandle`] returns [JSHandle].
|
[`method: Frame.evaluateHandle`] returns [JSHandle].
|
||||||
|
|
||||||
If the function, passed to the [`method: Frame.evaluateHandle`], returns a [Promise], then
|
If the function, passed to the [`method: Frame.evaluateHandle`], returns a [Promise], then
|
||||||
[`method: Frame.evaluateHandle`] would wait for the promise to resolve and return its value.
|
[`method: Frame.evaluateHandle`] would wait for the promise to resolve and return its value.
|
||||||
|
|
|
||||||
4
types/types.d.ts
vendored
4
types/types.d.ts
vendored
|
|
@ -3271,7 +3271,9 @@ export interface Frame {
|
||||||
* The only difference between
|
* The only difference between
|
||||||
* [frame.evaluate(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatepagefunction-arg) and
|
* [frame.evaluate(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatepagefunction-arg) and
|
||||||
* [frame.evaluateHandle(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatehandlepagefunction-arg)
|
* [frame.evaluateHandle(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatehandlepagefunction-arg)
|
||||||
* is that [method: Frame.evaluateHandle`] returns [JSHandle].
|
* is that
|
||||||
|
* [frame.evaluateHandle(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatehandlepagefunction-arg)
|
||||||
|
* returns [JSHandle].
|
||||||
*
|
*
|
||||||
* If the function, passed to the
|
* If the function, passed to the
|
||||||
* [frame.evaluateHandle(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatehandlepagefunction-arg),
|
* [frame.evaluateHandle(pageFunction[, arg])](https://playwright.dev/docs/api/class-frame#frameevaluatehandlepagefunction-arg),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue