mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(evaluate): clarify semantics of expression string (#17472)
This commit is contained in:
parent
29ff00ead2
commit
e62e84015c
@ -408,9 +408,8 @@ Defaults to `20`. Pass `0` to not follow redirects.
|
|||||||
## evaluate-expression
|
## evaluate-expression
|
||||||
- `expression` <[string]>
|
- `expression` <[string]>
|
||||||
|
|
||||||
JavaScript expression to be evaluated in the browser context. If it looks like
|
JavaScript expression to be evaluated in the browser context. If the expresion evaluates
|
||||||
a function declaration, it is interpreted as a function. Otherwise, evaluated
|
to a function, the function is automatically invoked.
|
||||||
as an expression.
|
|
||||||
|
|
||||||
## js-evaluate-pagefunction
|
## js-evaluate-pagefunction
|
||||||
* langs: js
|
* langs: js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user