async _handleDialog(dialog) {
    debugDialog(`${dialog.type()} ${dialog.message()} at ${this._options.url}`);
    await dialog.dismiss();
  }
@param {!Puppeteer.Dialog} dialog
@return {!Promise}
@private