This is my HTML page and I have some problem with my automation code and it is not able to locate the element and this is the XPath I used:
@FindBy(xpath="//div[contains(text(),'Done')]")
HTML Code:
<div class="col s4">
<div data-radium="true">
<div class="waves-effect waves-dark btn-large " data-radium="true" style="color: white; text-transform: capitalize; box-shadow: none; padding: 0px 2rem; border-radius: 5px; height: 50px; line-height: 50px; width: auto; cursor: pointer; background: rgb(0, 208, 156);">
<div>I'm Done</div>
</div>
</div>
</div>