I am looking for a way to extract the redirected URL from an anchor tag without actually visiting it. I have tried using `selenium` `get_attribute('href')`, but all I get is "javascript: return false". Is there a method to obtain the redirected URL through JavaScript?
The anchor tag in question has the following attributes:
`<a rel="nofollow" class="foto foto" id="attachment1" href="javascript: return false" title="Foto: Plintă, Set laterale 400x100mm, RAL7012">Foto: Plintă, Set laterale 400x100mm, RAL7012<span class="filelinks-filetype">(...)</span></a>`
I would greatly appreciate any assistance on this matter. Thank you!