/// <summary>
        /// Clicks the specified button on the <see cref="MessageBox"/> with the specified title.
        /// </summary>
        /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param>
        /// <param name="title">The MessageBox title to search for.</param>
        /// <param name="resultButton">The result button to click.</param>
        /// <param name="timeoutInSeconds">The number of seconds to wait for the MessageBox (default is 5).</param>
        public static void MessageBoxWithTitleButtonClick(this WisejWebDriver driver, string title,
                                                          DialogResult resultButton, int timeoutInSeconds = 5)
        {
            MessageBox messageBox = driver.GetMessageBoxWithTitle(title, true, timeoutInSeconds);

            messageBox.ButtonClick(resultButton);
        }