Selenium+python Installation Notes

Source: Internet
Author: User

1. download the Python msi version

2. install python, can be installed by default on the C Drive,python3.4.4 comes with pip and Setuptools , no need to repeat the download Pip as well Setuptools. After installing Python, you need to add a Python configuration to the environment variables.

3. Download Selenium,https://pypi.python.org\pypi\selenium. This time selected download selenium-3.3.3.tar.gz (MD5), the general default Download the latest version.

4. After the download Selenium is successful, unzip it to the site-packages folder under the Python installation directory . such as C:\Python34\Lib\site-packages. And in the current selenium decompression path is lowered with the command box, enter pip install Selenium.

5. install the latest version of Firefox, as the latest version of Firefox needs to download third-party driver. Download The Geckodriver, and put it in the Firefox installation directory, in the environment variable path to add Firefox path, for example: D:\Program Files\Mozilla Firefox .

6. When the above installation and configuration is successful, scripting is performed.

Selenium+python Installation Notes

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.