Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!