Print All Link Name Using Selenium In Python Last Updated : 12 Nov, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report 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. Requirements: You need to install chromedriver and set path. Click here to download. Note: For more information follows this link. Step-by-step Approach: Import required modulesTaking any URL.using By.TAG_NAME find web link on a webpage.then use a loop for print link name. Implementation: Python3 #import module from selenium import webdriver from selenium.webdriver.common.by import By driver = webdriver.Chrome() # url driver.get('https://www.youtube.com/') # find web links link = driver.find_elements(By.TAG_NAME, 'a') # print name of all links for i in link: print(i.text) Output: Comment More infoAdvertise with us Next Article Navigating links using get method - Selenium Python P praveeny182 Follow Improve Article Tags : Python Python-selenium Practice Tags : python Similar Reads Python - Opening links using Selenium Selenium is a powerful tool for controlling the web browser through the program. 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. Selenium Python bindings provide a convenient API to a 2 min read Navigating links using get method - Selenium Python Selenium's Python module allows you to automate web testing using Python. The Selenium Python bindings provide a straightforward API to write functional and acceptance tests with Selenium WebDriver. Through this API, you can easily access all WebDriver features in a user-friendly way. This article e 2 min read Get all text of the page using Selenium in Python As we know Selenium is an automation tool through which we can automate browsers by writing some lines of code. It is compatible with all browsers, Operating systems, and also its program can be written in any programming language such as Python, Java, and many more. Selenium provides a convenient A 3 min read Locating single elements in Selenium Python Locators Strategies in Selenium Python are methods that are used to locate elements from the page and perform an operation on the same. Seleniumâs Python Module is built to perform automated testing with Python. Selenium Python bindings provide a simple API to write functional/acceptance tests using 5 min read Python - find_element() method in Selenium While performing any action on a web page using selenium, there is need of locators to perform specific tasks. Locators in web page are used to identify unique elements within a webpage. Web elements could be anything that the user sees on the page, such as title, table, links, buttons, toggle butto 2 min read click method - Action Chains in Selenium Python Seleniumâs Python Module is built to perform automated testing with Python. ActionChains are a way to automate low-level interactions such as mouse movements, mouse button actions, keypress, and context menu interactions. This is useful for doing more complex actions like hover over and drag and dro 2 min read Like