public void ClickSave(int existingBookings) { SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(btnSave); btnSave.Click(); ExplicitWait.Until(wd => Utilities.WaitForNewbookingAppears(existingBookings, Driver)); }
public void ClickDeleteButon() { foreach (IWebElement deleteItem in RowsToDelete) { ExplicitWait.Until(Dr => SeleniumExtras.WaitHelpers.ExpectedConditions.ElementToBeClickable(deleteItem)); deleteItem.Click(); } }
public int GetTotalLatestBookings() { ExplicitWait.Until(wd => Utilities.WaitForPageFullyloaded(10000, 150, Driver) == true); return(TotalBookings.Count - 1); }