Package | Description |
---|---|
com.microsoft.playwright |
Modifier and Type | Method and Description |
---|---|
void |
Page.exposeFunction(String name,
FunctionCallback callback)
The method adds a function called
name on the window object of every frame in the page. |
void |
BrowserContext.exposeFunction(String name,
FunctionCallback callback)
The method adds a function called
name on the window object of every frame in every page in the context. |
Copyright © 2022. All rights reserved.