top of page

Software Testing Using Python Selenium Web Automation Tool

What is selenium?

Selenium is a framework for the automated testing of web applications. Using Selenium, you can basically automate every task in your browser as if a real person were to execute the task. The interface used to send commands to the different browsers is called Selenium WebDriver.


Here we install selenium using pip command

> pip install selenium

Import web driver class and a key class

> from selenium import webdriver

> from selenium.webdriver.common.keys import Keys

webdriver - class will connect you to a browser’s instance

Keys - class lets you emulate the stroke of keyboard keys, including special keys like “Shift” and “Return”

Take a path where the web driver is installed

Here we take the path of chrome driver, where driver .exe exists.

> driver = webdriver.Chrome('./chromedriver')

Use the get to take the web


work in progress

20 views0 comments

Recent Posts

See All


bottom of page