mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(Page): Add missing return comments in addScriptTag and addStyleTag (#1753)
This commit is contained in:
parent
71089b0802
commit
dcc1b24395
@ -295,6 +295,7 @@ class Page extends EventEmitter {
|
||||
|
||||
/**
|
||||
* @param {Object} options
|
||||
* @return {!Promise<!Puppeteer.ElementHandle>}
|
||||
*/
|
||||
async addScriptTag(options) {
|
||||
return this.mainFrame().addScriptTag(options);
|
||||
@ -302,6 +303,7 @@ class Page extends EventEmitter {
|
||||
|
||||
/**
|
||||
* @param {Object} options
|
||||
* @return {!Promise<!Puppeteer.ElementHandle>}
|
||||
*/
|
||||
async addStyleTag(options) {
|
||||
return this.mainFrame().addStyleTag(options);
|
||||
|
Loading…
Reference in New Issue
Block a user