Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

220
Vistas
Click in a button in React with selenium webdriver

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

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda