docs(api.md): clarify docs about waitForNavigation (#2788)

This commit is contained in:
Andrey Lushnikov
2018-06-26 13:42:50 -07:00
committed by GitHub
parent aae73f5fd7
commit 6ca43cf761
3 changed files with 17 additions and 12 deletions

View File

@@ -616,7 +616,7 @@ class Page extends EventEmitter {
/**
* @param {!Object=} options
* @return {!Promise<!Puppeteer.Response>}
* @return {!Promise<?Puppeteer.Response>}
*/
async waitForNavigation(options = {}) {
const mainFrame = this._frameManager.mainFrame();