/// <summary>
        /// Clicks the specified button on the <see cref="MessageBox"/> with the specified icon.
        /// </summary>
        /// <param name="driver">The <see cref="WisejWebDriver"/> to use.</param>
        /// <param name="icon">The MessageBoxIcon to look 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 MessageBoxWithIconButtonClick(this WisejWebDriver driver, MessageBoxIcon icon,
                                                         DialogResult resultButton, int timeoutInSeconds = 5)
        {
            MessageBox messageBox = driver.GetMessageBoxWithIcon(icon, true, timeoutInSeconds);

            messageBox.ButtonClick(resultButton);
        }