i hope that you're good. I am learn selenium webdriver and i have a problem with a button in selenium because i can't click in, is a button within a table, this is the code
<tr ng-repeat="(key, value) in selectRolCtrl.roles" class="" style="">
<td>
<a href="#" ng-click="selectRolCtrl.selectedRole(value.IdApplicationRole)">
<span class="glyphicon glyphicon-check" aria-hidden="true">
</span>
</a>
</td>
<td>Administrador</td>
<td>Administrador Aplicacion</td>
</tr>
this is the code i try to use, i can localize the button but no make click in the button
public void click(By locator) {
driver.findElement(locator).click();
}
public void click(WebElement element) {
element.click();
}
I use the locator CSS and xpath but the selenium can located but can't click in someone have a idea to make click or some manual to read and learn more about selenium pls