public void OpenRepaymentDayWeekSchedule(string repaymentDay) { if (!this.driver.IsElementVisisble(LoanPageElements.WeekSchedule)) { this.driver.ClickAllVisibleElements(LoanPageElements.OpenWeekSchedule); } this.driver.WaitForElementVisible(WeekSchedule, 0); this.driver.Click(LoanPageElements.dayOnWeekSchedule(repaymentDay)); }
public void OpenRepaymentDayCalendarAndSelectDay(int repaymentDate) { if (!this.driver.IsElementVisisble(LoanPageElements.Calander)) { this.driver.ClickAllVisibleElements(LoanPageElements.LoanScheduleButton); } this.driver.WaitForElementVisible(LoanPageElements.Calander, 1); this.driver.Click(LoanPageElements.dateOnCalander(repaymentDate)); }