I am trying to click on a ‘Download List Here’ link on this given URL:
I should first state my main goal is to download this PDF. I do not care about how that is done, any alternative methods that will be easier is much appreciated.
That being said, as of now we are left clicking on link and Ctrl+S to save the file for downstream process.
My problem is that I have many links that follow this exact same path just with different URLs, my goal was to create a spreadsheet that will hold the link selectors for each URL.
The concept works when I try to click on this link with the hardcoded selector shown here:
html app=‘chrome.exe’ title=‘GwinnettTaxCommissioner > Property Tax > Tax Sale Excess Funds’
webctrl aaname=‘Download List Here’ parentid=‘dnn_ctr695_HtmlModule_lblContent’ tag=‘SPAN’
My goal is to sub out the ‘Download List Here’ with a var. However, whenever I try to do this I receive a ‘generic click error’.
So to reiterate, when I use the hardcoded selector above it works fine. Yet, when I include the ‘Download List Here’ in the excel file which then gets inputted in var that goes inside selector is when I receive the error.