Introduction
Nowadays, Python is a very popular programming language. We can use Python for developing complex features, like machine learning and data analysis. Also, we can develop complex web applications using Python-based frameworks like Django. Please find below the image to get a more clear understanding of the frameworks available in Python.
Apart from this, we can develop a good web automation framework using Python and Selenium.
Everyone is aware of Selenium that is used to automate any web application. So, there are so many programming languages available with Selenium like Java, JavaScript, and then C#.
In this document, we will try to automate one website with Python and Selenium and try to understand how Python is better or simpler than other languages when it comes to developing an automation framework.
Environment Setup
First, we will start with some basic downloading and environment setup.
Download Python
Open the Python website and download the latest version and install it on your local machine.
Download Selenium Standalone Server
Open the Selenium website to download the Selenium Standalone Server.
Currently, version 3.141.59 is the current version.
This is basically a zip file. After unzipping it, you will get a jar file. A jar file is the executable Java file. To run this, open a command prompt and run java -jar selenium-server-standalone-3.x.x.jar
To run this command, you need Java. If Java is not available, then please go ahead and install Java on your machine. After the successful execution, you will get the below screen.
Download Chrome Driver - As per your preferred browser, you can download the driver on your local machine. From here, you will get the Chrome Driver.

Md SarfarajPosted Jun 22, 2019, 9:13 AM
Very informative article