You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`name` <[string]> Name of the function on the window object.
448
448
-`playwrightBinding` <[function]> Callback function that will be called in the Playwright's context.
449
+
-`options` <[Object]>
450
+
-`handle` <[boolean]> Whether to pass the argument as a handle, instead of passing by value. When passing a handle, only one argument is supported. When passing by value, multiple arguments are supported.
449
451
- returns: <[Promise]>
450
452
451
453
The method adds a function called `name` on the `window` object of every frame in every page in the context.
@@ -455,7 +457,7 @@ If the `playwrightBinding` returns a [Promise], it will be awaited.
455
457
The first argument of the `playwrightBinding` function contains information about the caller:
-`name` <[string]> Name of the function on the window object.
1269
1285
-`playwrightBinding` <[function]> Callback function that will be called in the Playwright's context.
1286
+
-`options` <[Object]>
1287
+
-`handle` <[boolean]> Whether to pass the argument as a handle, instead of passing by value. When passing a handle, only one argument is supported. When passing by value, multiple arguments are supported.
1270
1288
- returns: <[Promise]>
1271
1289
1272
1290
The method adds a function called `name` on the `window` object of every frame in this page.
@@ -1276,7 +1294,7 @@ If the `playwrightBinding` returns a [Promise], it will be awaited.
1276
1294
The first argument of the `playwrightBinding` function contains information about the caller:
0 commit comments