Issues with Elements Generated by Javascript in Web


I’m trying to get a latest downloaded file name (using Get Attribute) from google chrome downloads page chrome://downloads/ and selectors are a challenge to get them to work since they are being generated by Javascript. I can only access the through Browser Inspector.

Here is the source code: Navigate to => view-source:chrome://downloads/
When I validate it, everything is ok and green but when I run it, an error comes.

Attach Browser ‘chrome.exe Downloads’: Invalid selector:

. *Expected a selector. Please make sure that you indicate a browser tab element.*

Please help me.

@wilbardmtei - instead of reading view-source & check the downloads -
check the download location and navigate to the folder and get the files.