I am trying to get href link from "a" element on website, the problem is that it does not have "href" in it, so selenium gives me "element is not clickable".
The HTML code looks like this
<a class="download-file__link"
download=""
data-masked="2532466d65646961253246636174616c6f67253246646f776e6c6f616473253246646174656e626c6174745f65787465726e253246322532463425324663253246612532463234636161633261393736372e706466"
rel="nofollow">
When I click it inside my browser it shows the href.
<a class="download-file__link"
download=""
data-masked="2532466d65646961253246636174616c6f67253246646f776e6c6f616473253246646174656e626c6174745f65787465726e253246322532463425324663253246612532463234636161633261393736372e706466"
rel="nofollow"
href="/media/catalog/downloads/datenblatt_extern/2/4/c/a/24caac2a9767.pdf">
How can I do it with Selenium so it will show the href afterwards?
I spent like 5 hours finding the solution but didnt find any.
Can you please help me?
Thank you