Print All Link Name Using Selenium In Python
Selenium is a powerful tool for controlling web browsers through programs and performing browser automation. It is functional for all browsers, works on all major OS and its scripts are written in various languages i.e Python, Java, C#, etc, we will be working with Python.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
You need to install chromedriver and set path. Click here to download.
Note: For more information follows this link.
- Import required modules
- Taking any URL.
- using By.TAG_NAME find web link on a webpage.
- then use a loop for print link name.