Scenario -Click on the field to get the calendar popup and select the current date which is highlighted, then click on the arrow to select end date and click on the end date.
CSS – Selected date
CSS – For clicking on the arrow to move to next month
CSS – Target end date in next month
C# code using Selenium webdriver driver.FindElement(By.CssSelector("div.date-block")).Click(); //Clicks on the date start and End date
driver.FindElement(By.CssSelector(".datepickerSelected")).Click();
driver.FindElement(By.CssSelector(".datepickerGoNext")).Click();
driver.FindElement(By.CssSelector("xxxxxxxx")).Click();
Question:Can someone help me in providing the C# code to pick the start and End dates please.