diff --git a/docs-src/api-body.md b/docs-src/api-body.md index abf23a1bbd..8cb67cfeef 100644 --- a/docs-src/api-body.md +++ b/docs-src/api-body.md @@ -919,8 +919,8 @@ fires or when the script content was injected into frame. Shortcut for main frame's [frame.addScriptTag()](). -### param: Page.addScriptTag.script -- `script` <[Object]> +### param: Page.addScriptTag.params +- `params` <[Object]> - `url` <[string]> URL of a script to be added. - `path` <[string]> Path to the JavaScript file to be injected into frame. If `path` is a relative path, then it is resolved relative to [current working directory](https://nodejs.org/api/process.html#process_process_cwd). - `content` <[string]> Raw JavaScript content to be injected into frame. @@ -934,8 +934,8 @@ content. Returns the added tag when the stylesheet's onload fires or when the CS Shortcut for main frame's [frame.addStyleTag()](). -### param: Page.addStyleTag.style -- `style` <[Object]> +### param: Page.addStyleTag.params +- `params` <[Object]> - `url` <[string]> URL of the `` tag. - `path` <[string]> Path to the CSS file to be injected into frame. If `path` is a relative path, then it is resolved relative to [current working directory](https://nodejs.org/api/process.html#process_process_cwd). - `content` <[string]> Raw CSS content to be injected into frame. @@ -2473,8 +2473,8 @@ Returns the added tag when the script's onload fires or when the script content Adds a `