Sign in Geeksforgeeks using Python Selenium Last Updated : 04 Jan, 2021 Improve Improve Like Article Like Save Share Report Project Description: Here, we’re going to study a simple how-to log in GFG by selenium. Selenium is a free tool for automated trying out across exceptional browsers. then a simple requirement id and password. Requirements : Selenium – Selenium Python Introduction and Installation Steps to setup – First, go to the GeeksforGeeks website using this Link. Then click on investigate element by urgent ctrl + shift + i or stepping into setting of browser and clicking on investigate detail manually. Then navigate box where email, or username are filled then copy the x_path. Then navigate the Password then copy the x_path. Then navigate the Sign-in button then copy the x_path. Implementation: from selenium import webdriver from selenium.webdriver.common.keys import Keys import time # create instance of Chrome webdriver driver = webdriver.Chrome() driver.get("https://auth.geeksforgeeks.org/") # find the element where we have to # enter the xpath # fill user or mail id driver.find_element_by_xpath('//*[@id ="luser"]').send_keys('praveeny182') # find the element where we have to # enter the xpath # fill password driver.find_element_by_xpath('//*[@id ="password"]').send_keys('xXXXXX') # find the element sign in # request using xpath # clicking on that element driver.find_element_by_xpath('//*[@id ="Login"]/button').click() Output – You will eventually be logged in to geeksforgeeks in the browser where selenium is running. Like Article Suggest improvement Previous Selenium - Search for text on page Next Creating custom user model using AbstractUser in django_Restframework Share your thoughts in the comments Add Your Comment Please Login to comment... Similar Reads Program to display Astrological sign or Zodiac sign for given date of birth Sign in Booking.com using Selenium in Python Sign Language Recognition System using TensorFlow in Python Python | Reverse sign of each element in given list Python | Counting sign change in list containing Positive and Negative Integers numpy.sign() in Python Python - Group Consecutive elements by Sign Python Program to get indices of sign change in a list Compute the sign and natural logarithm of the determinant of an array in Python Django Sign Up and login with confirmation Email | Python Like praveeny182 Follow Article Tags : Python Selenium-Exercises Python-selenium Computer Subject Python Practice Tags : python