<button class="md-trigger btn btn-primary mrg-b-lg" data-toggle="modal" data-target="CaseProcessmodal" id="AddCaseButton" onclick="return validateForm('#CaseProcessmodal');">Add Case</button>
I have an element location like above, trying to click on the button in selenium, its not working. I am using page factory, element id is correctly matching though.
Verified with other matching element id.