I have an element which needs to be clicked for Date layout. The locator corresponding to the element I found is classname="xxx" and below gives my scalatest code to click on the particular element. when I run the script, it gives "web element not found" exception. Can you please guide on this
Code:
click on className("selectedBtnDate")
element Inspector:
<li class="datepickertooltip">
<span class="tooltiptext">Date</span>
<a class="selectedBtnDate" href="#"></a>
</li>