I am attempting to utilize Puppeteer for iterating through a table element's rows. Each row in the table contains a dropdown menu within the last column. My goal is to select option "P" for Parameters, retrieve all href links, build an array of those links, and then proceed to visit each link individually to take screenshots.
Below is the structure of my table element...
I would appreciate assistance on the steps involved in looping through the table, clicking on the dropdown to choose an option, collecting the links into an array, visiting each link, and capturing snapshots.
Thank you for your guidance
<table border="0" cellpadding="5" cellspacing="0" width="96%" style="border: 2px solid black; margin-bottom: 10px;">
<tbody><tr class="header1">
<th colspan="8">Workshops</th>
</tr>
<!-- More table content here -->
</tbody></table>