Saturday, July 6, 2019

Step by Step guide to Install Selenium Python in Windows

Step by Step guide to Install Selenium Python in Windows


1. Download Python 3.7.0
    https://www.python.org/downloads/
    https://www.python.org/downloads/release/python-370/

2. To install
    use custom installation.
    select pip

3. once installation is complete navigate to the root folder
    (C:\Users\USERNAME\AppData\Local\Programs\Python\Python37)

4.  open the scripts folder and open cmd. Run belowcommand :
     pip install selenium

5.  Once it is done goto IE and click on settings>Internet Options>Security > Click on internet and the check mark on Enable protecttive mode. Similarly do this for local intranet, trusted sites and restricted sites.

6. Now navigate to http://selenium-release.storage.googleapis.com/index.html to download IE (Internet Explorer) Driver.
   i. Download 32 bit version of 2.39 (which is stable version; use 32 even if the system is 64bit).
   ii. Unzip the file and create a folder called Driver in any drive.
   iii. Right click on "This PC" and go to properties and then click on advance system settings.
   iv. Now click on Environmental variables and find "Path" in that and click on Edit.
   v. Click on New and add C:\Driver\
   vi. Save and exit

7. Open IDE and create new python script and run it.
8. Sample programs in 

No comments:

Post a Comment

Popular Posts