Installing Selenium Webdriver with Python package

0 votes
Can anyone please explain the installation process of Selenium Webdriver with Python package?
May 8 in Selenium by Hemant
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey Hemant, for installing Selenium Webdriver with Python Package, follow these steps one by one:

  1. Installing Python: On Linux Distributions, MAC OS X, and Unix machines; Python is by default installed. However, on Windows machines, it needs to be installed separately. Python installers for different OS can be downloaded from this link: https://www.python.org/downloads/

  2. Installing Selenium Webdriver Python Package: Use PIP Package Manager To Install Selenium With Python. For that, first go to the directory where you’ve installed Python. For eg. I have the latest Python version 3.6, and its location is <C:\python36>

  3. Use the <pip> tool to install the Selenium Webdriver package with following line of code:

    >>pip install selenium



    To upgrade the currently installed Selenium Webdriver package then, just add the -U flag to the previous <pip> command, i.e. 

    C:\python36>pip install -U selenium

           The <pip> tool will download the latest version of the Selenium package and install it on your machine. The optional –U flag will upgrade the existing version of the installed package to the latest version.

          

    4. After we have set up Python and Selenium WebDriver, the next important step is to either pick an editor or an IDE (Integrated Development Environment) for writing the test scripts. Some of the popular python IDEs are PyCharm, PyDev Eclipse Plugin, PyScripter etc. You can download PyCharm from here: http://www.jetbrains.com/pycharm/

answered May 8 by Anvi
• 6,040 points

Related Questions In Selenium

0 votes
1 answer

How to handle notifications in Python with Selenium (Chrome WebDriver)

Below will help you: You can disable the ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,394 views
0 votes
1 answer

Get coordinates or dimensions of element with Python using Selenium WebDriver

WebElements have the properties such as .size and .location. ...READ MORE

answered Jul 11, 2018 in Selenium by Meci Matt
• 9,400 points
977 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,030 points
77 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
449 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
57 views
0 votes
1 answer

How can I write test scripts in Selenium with python?

Hey Khushi, writing test scripts in Selenium ...READ MORE

answered May 9 in Selenium by Anvi
• 6,040 points
11 views
0 votes
1 answer

How to mouse hover on a web element using Selenium WebDriver?

Hello Nitin, to automate mouse hovering over ...READ MORE

answered May 7 in Selenium by Anvi
• 6,040 points
15 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.