
Depending on the Chrome browser version we have on our system, and the operating system we are using, we need to download the suitable driver. To automate the Chrome browser, we first need to download the Chrome driver. We are now ready to write down scripts in Python to automate the browsers. Eclipse may ask you to open the Python perspective, select Yes. Provide a name to the project, select Python interpreter, it is advisable to choose Quick Auto Config. We will perform it for all three browsers: Internet Explorer, Firefox, and Chrome.ġ. We will now perform the steps to create a Python project in Eclipse and write down our first script to open the browser with the URL of our demo site application and close it. The preceding command will install the Selenium Python module, and the environment will now be ready to accept Selenium commands to automate the browser. To install the module, open the Command Prompt and type pip install selenium, shown as follows:

The above URL provides information about the Selenium module of Python, the command to install it, and the documentation available with it.Ģ. From here, we will search the module for Selenium and use the pip install command. The modules of Python are available on the website ( ). The next step is to install the Selenium Python module. Now the Eclipse environment is ready to create Python projects and understand Python syntax as well. To setup PyDev in the Eclipse environment, we have to perform the following actions:

Java JRE: downloads/jre8-downloads-2133155.html, and install it on the system.Īfter we have installed and set up the above software in our system, we need to install PyDev in the Eclipse environment.This chapter will help us to understand the steps to setup Selenium and Eclipse IDE on the Windows systemīefore we start to learn to write scripts to automate browsers using Selenium WebDriver, we have to prepare our system with a few software. Running the very first program on three browsers.Installing different drivers for Chrome, Firefox, and IE browser.After setting up this software for creating scripts, we will need to set up Selenium in the system and download the browser drivers for execution on the individual drivers.


We will note to have Python, Java Runtime Engine (JRE), Eclipse IDE, PyDev. In this chapter, we will learn how to prepare our system with the required software so that we are able to write our test automation scripts and execute them.
