chore(Page): Add missing return comments in addScriptTag and addStyleTag (#1753)

This commit is contained in:
Darío Kondratiuk 2018-01-09 21:31:41 -03:00 committed by Andrey Lushnikov
parent 71089b0802
commit dcc1b24395

View File

@ -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);