Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

What is the process to get data-href instead of href with selenium in python?

Asked by Andrea Bailey Apr 21, 2022 866 views 1 answer
Share

About this question

I currently have a python code that should grab a link from google. However, google uses a somewhat different method to linking. how could I grab the data-href instead of just href. this is the html example of a google link, the code is different when I use firefox.. there is no data-href:

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.