private static void MessageBoxCheckNotExistCore(this WisejWebDriver driver, string title,
                                                        MessageBoxIcon icon, string message, int timeoutInSeconds)
        {
            MessageBox messageBox = driver.WaitForMessageBox(message, title, icon, timeoutInSeconds);

            Assert.IsNull(messageBox, GetMessage("MessageBox {0} should not exist.", title, message));
        }
        private static MessageBox GetMessageBoxCore(this WisejWebDriver driver, string title,
                                                    MessageBoxIcon icon, string message, int timeoutInSeconds)
        {
            MessageBox messageBox = driver.WaitForMessageBox(message, title, icon, timeoutInSeconds);

            Assert.IsNotNull(messageBox, GetMessage("MessageBox {0} not found.", title, message));
            return(messageBox);
        }