Selenium+python Environment Building (Windows)

Source: Internet
Author: User

With the selenium2.0

Selenium2.0=selenium1.0+webdriver

Installation:

1, download, install Python, I use the python3.3.2

2. Configure the environment variable path, add a semicolon ";"at the end of the string, and enter the installation path for Python

  After setting the environment variable, enter Python in Cmd to see

  Python 3.3.2 (V3.3.2:d047928ae3f6, May, 00:06:53) [MSC v.1600-bit (AMD64)] on Win32

Such a similar message indicates that Python's installation configuration is complete.

3, download, install Setuptools (this is the Basic Python toolkit)

When the download is complete, go to the Setuptools file directory from the command line and enter

  Python setup.py Install

4, download, install Pip (this is the Python installation package management tool)

When the download is complete, go to the PIP's file directory from the command line and enter

  Python setup.py Install

5, online installation Selenium

Once the PIP is installed, go to the Scripts folder in the Python installation directory from the command line and enter

  Pip Install-u Selenium

At this point, Selenium+python's automated test environment is built.

  

  

  

  

Selenium+python Environment Building (Windows)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.