I am working on a web automation.
I have to download a file by clicking on the link.
- I am using get attribute to get the “href” .
- Since it is javascript the “href” is coming as "javascript:openDocument(“123457”,“DMS”).
- Is there a way to convert this href code to api , so that I can use the api to download the file without relying on UI automation.