internal void NotificationSelectAll() { //Start the Reports CommonMethods.ExtentReports(); Thread.Sleep(1000); CommonMethods.test = CommonMethods.extent.StartTest("Notification Select All"); //Click on select all // Wait WaitHelpers.WaitForElementClickable(Driver.driver, "XPath", "//*[@id='notification-section']//" + "div[last()-1]/div/div/div[3]/input", 1000); // GlobalDefinitions.WaitForElementVisibility(GlobalDefinitions.driver, "XPath", "//div[@data-tooltip='Select all']", 10000); SelectAll.Click(); Thread.Sleep(1000); CommonMethods.test.Log(LogStatus.Info, "Successfully selected all notifications"); SaveScreenShotClass.SaveScreenshot(Driver.driver, "SelectAllNotification"); }