lundi 5 avril 2021

How to iterate over a table and then hover on a particular row having a given column value in puppeteer?

The table is having columns as given below:

| Organization  | Username      | Option                           |
____________________________________________________________________
| Helloworld    | username1     | delete icon appear here on hover |
| Stackoverflow | test          | delete icon appear here on hover |
| Puppeteer     | username2     | delete icon appear here on hover |
____________________________________________________________________

I want to iterate over the table and hover over the option to click on the delete icon for the column having Username value = test.

How can I achieve this using puppeteer ?

Aucun commentaire:

Enregistrer un commentaire