How to click a particular date in a calendar in webdriver

I want to click a date from a calendar, logic is calendar has 3 types of dates(green color,pink color,ash color)  .I can select only the green color dates other dates are disabled .

Someone please give me an idea.

(I’m using selenium webdriver with c#)

Add Comment
  • 1 Answer(s)

    I had to work on something like this before.. the case was “TODAY” button was present so i could just click on it.

    you can check if the element (date) is enabled or if the green section can be identified separately…

    could reproduce if you can provide the url or application name. 🙂

    Supporter Answered on May 5, 2017.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.