Search Google Using Python Selenium Last Updated : 12 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like 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 write your first program with Selenium to Search Google Using Python Selenium.If you have not installed Selenium and its components yet, install them from here - Selenium Python Introduction and Installation.How to search google using Python SeleniumGoogle search has a URL where you can append your keywords and it will search the keyword for you. For example - "https://www.google.co.in/search?q=gfg", this will search gfg on google.co.in.In the same manner we arbitrarily provide the keyword we want to search or take input from user. This is an example program to understand how Selenium works.After you have installed Selenium, create a file called run.py as -Program - Python3 1== # Python program to demonstrate # selenium # import webdriver from selenium import webdriver # create webdriver object driver = webdriver.Firefox() # enter keyword to search keyword = "geeksforgeeks" # get google.co.in driver.get("https://www.google.co.in/ / search?q ="+keyword) Output- Comment More infoAdvertise with us Next Article Performing Google Search using Python code N NaveenArora Follow Improve Article Tags : Python Python-selenium Python Selenium-Exercises Practice Tags : python Similar Reads Text Searching in Google 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. In this article, we are go 3 min read Google Maps Selenium automation using Python Prerequisites: Browser Automation using Selenium Selenium is a powerful tool for controlling a 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. It can 4 min read Performing Google Search using Python code Let's say you are working on a project that needs to do web scraping but you don't know websites on which scraping is to be performed beforehand instead you are required to perform a google search and then proceed according to google search results to a few websites. In that case, you need google se 2 min read Download Google Image Using Python and Selenium In this article, we are going to see how to download google Image using Python and Selenium. Installation On the terminal of your PC, type the following command. If it triggers any error regarding pip then you need to 1st install pip on windows manually by python get-pip.py command then you can run 3 min read How to scrape multiple pages using Selenium in Python? As we know, selenium is a web-based automation tool that helps us to automate browsers. Selenium is an Open-Source testing tool which means we can easily download it from the internet and use it. With the help of Selenium, we can also scrap the data from the webpages. Here, In this article, we are g 4 min read Check High School Result using Selenium in Python We are going to study check high school result status pass or fail by using selenium. This is very useful for schools because when they check how many student pass-fail and what is the name of a fail student. If the student amount is 10 and less than 10 then check easily by manual when if the number 3 min read Like