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
|
||||
- `expression` <[string]>
|
||||
|
||||
JavaScript expression to be evaluated in the browser context. If it looks like
|
||||
a function declaration, it is interpreted as a function. Otherwise, evaluated
|
||||
as an expression.
|
||||
JavaScript expression to be evaluated in the browser context. If the expresion evaluates
|
||||
to a function, the function is automatically invoked.
|
||||
|
||||
## js-evaluate-pagefunction
|
||||
* langs: js
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user