I need to automate actions on the website built with Angular Material tables. There is a table. If I click on the row, I am redirected to another page.
Hello @Rahul_Unnikrishnan ,
Yes there is an option to click on the row, get the url in the new window and extract the ID.
But there are 5000 rows and if I click on each row, it will take a lot of time. I need to get IDs to build the correct url later.
@antonina.v If the url is only changing with an ID, then you open it by appending the ID to the default url. I think that will be easy.
Another option is while extracting you can enable get url in the Table extraction. It will help to directly fetch the url. Maybe you can try that as well.
@Rahul_Unnikrishnan yes, I can append the ID to the default url. And that’s exactly what I want to do. But the problem is that I can’t get the ID. There is no ID in the HTML code. I can see the ID only when I click on the row: I am redirected to another page and its url contains the ID.
But without clicking on the row, I cannot get the url or the ID: there is no A tag and the url is generated in Javascript when the event Click is called.
Table Extraction does not work for the same reason: there is no A tag that contains the url.
The Angular Material library handles the Click event to generate the url and redirect to another page. I would like to know if anyone has already automated actions on websites developed with Angular Material.