I have a button with the text "Sim" on it, and I'm tryng to click on it, but proctactor can't find the element, why? It is on the screen.
HTML
<button class="btn btn-primary" type="button">
<i class="zmdi zmdi-check"></i>
Sim
</button>
Test Code
element(by.partialButtonText('Sim')).click();
Error
Failed: element not visible