Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
code |
script | ||
args |
<optional> |
script argument array |
Returns:
- Type:
-
Promise.<string>