Example #1
0
        private static Boolean preventPopup(ref ChromeDriver driver, KeyWordDetailInfo keyWordDetail)
        {
            Boolean success = false;

            if (success = driver.CheckAlert())
            {
                restartDriver(ref driver);
                keyWordDetail.Comments = "new Popup";
                Utilities.Utilities.Log(message: "[X2]", isError: true, isWriteLine: false, addTime: false);
            }
            return(success);
        }