Hi,
I have gone through website. Input tag has read-only attributes. Following are the steps need to be performed to select date
1. Click on date picker input tag
webDriver.findElement(By.cssSelector(".datePickerContainer input")).click();
2. Select next to get specific month
webDriver.findElement(By.xpath("//span[text()='Next']")).click();
3. Select date
webDriver.findElement(By.xpath("(//a[text()='14'])[3]")).click();
Snippet:
webDriver.findElement(By.cssSelector(".datePickerContainer input")).click();
// Click on next to get August month
webDriver.findElement(By.xpath("//span[text()='Next']")).click();
// Xpath: (//a[text()='DATE'])[MONTH_1/2/3]
// Explanation: I want to select 14th date from August //a[text()='14']
// There are only 3 months active in window. so August is the 3rd month [3]
webDriver.findElement(By.xpath("(//a[text()='14'])[3]")).click();
For better code - please go through datepicker in selenium
Hope this help you to select date.
Thanks,
Shiva