How to extract a table from an HTML page when its position is not fixed

Hi, I have received several emails from which I need to extract tables. I saved the emails in HTML format and used data scraping to retrieve the tables. However, the position of the tables varies from email to email because some of them contain replies and forwarded messages.

@ashish.1.tripathi,

Have you tried this solution?

@ashish.1.tripathi

Welcome to the community

The position of table might change…but tag table would remain same…so use tag in selector and then idx so that all table tags are taken

Cheers