/// <summary>
        /// Clicks the image of the window of the specified id (closes the
        /// gallery page), and returns the page that opened this page.
        /// </summary>
        public void ClickImage(string windowId)
        {
            ArgumentGuard.NotNull(windowId, nameof(windowId));

            SeleniumUtils.ClickAndMove(
                Driver, Driver.FindElement(By.CssSelector(CssSelector_(windowId))));
            Thread.Sleep(500);
        }
        /// <summary>
        /// Opens the model window gallery by clicking the window gallery button.
        /// </summary>
        /// <returns></returns>
        public ModelWindowGalleryPage ClickGalleryButton()
        {
            SeleniumUtils.ClickAndMove(
                Driver, Driver.FindElement(By.Id(WindowGalleryButtonId_)));
            ModelWindowGalleryPage galleryPage = new ModelWindowGalleryPage(Driver);

            galleryPage.WaitUntilReady();
            return(galleryPage);
        }