Navigating links using get method – Selenium Python Read Courses Practice Improve Improve Improve Like Article Like Save Article Save Report issue Report Selenium’s Python Module is built to perform automated testing with Python. Selenium Python bindings provides a simple API to write functional/acceptance tests using Selenium WebDriver. Through Selenium Python API you can access all functionalities of Selenium WebDriver in an intuitive way. This article illustrates about how to use Selenium Python to navigate to any link on web using get method of Selenium Webdriver in python. If you have not installed Selenium and its components yet, install them from here – Selenium Python Introduction and Installation. How to navigate links using Python Selenium The first thing oneâll want to do with WebDriver is navigate to a link. The normal way to do this is by calling get method: Syntax – driver.get(url) Example- driver.get("http://www.google.com") WebDriver will wait until the page has fully loaded (that is, the onload event has fired) before returning control to your test or script. Itâs worth noting that if your page uses a lot of AJAX on load then WebDriver may not know when it has completely loaded. If you need to ensure such pages are fully loaded then you can use waits. Project Example – After you have installed Selenium, create a file called run.py as – Program – # Python program to demonstrate # selenium # import webdriver from selenium import webdriver # create webdriver object driver = webdriver.Firefox() # get google.co.in driver.get("https://google.co.in / search?q = geeksforgeeks") Output- Last Updated : 10 Apr, 2020 Like Article Save Article Previous Selenium Python Introduction and Installation Next Interacting with Webpage - Selenium Python Share your thoughts in the comments Add Your Comment Please Login to comment... Similar Reads How to Get All Available Links on the Page using Selenium in Java? Python BeautifulSoup Navigating tree sideways Python - Opening links using Selenium Count total number of Links In Webpage Using Selenium In Python How Selenium WebDriver Can be Used to Detect Broken Links? Get all text of the page using Selenium in Python How to get title of a webpage using Selenium in Python? How to get current_url using Selenium in Python? Get contents of entire page using Selenium How to get text of a tag in selenium - Python? Like N NaveenArora Follow Article Tags : Python-selenium selenium Python Practice Tags : python Additional Information Current difficulty : Easy Vote for difficulty : Easy Normal Medium Hard Expert