assertPopupWindow(url) {
    assertEquals(url, this.popupUrl_);
    this.popupUrl_ = null;
  }
Asserts a popup window is opened, and the location is set to the URL.
@param {string} url The URL of the popup window.