A, download Python2.7 from the Python website
https://www.python.org/
b, when installing Python2.7, select tick pip and Auto config environment variable (default python installation path C:\Python27), if environment variable is not automatically configured, manual configuration can also
C. After the Python and Pip installation is successful (enter Python under command line to enter Python interactive environment >>>),
Method of installing third-party module PIL pip install PIL prompt error because PIL official only supports 32-bit, no 64-bit version available
Can install unofficial module Pillow instead, pip install Pillow
Http://effbot.org/downloads#pil
Build Python+selenium Automation ******************************
D. Installing Selenium:pip install selenium via pip
or install python2.7 by downloading the package, installing the selenium version is 3.4.3
E, download the corresponding chrome version of Chromedriver from http://chromedriver.storage.googleapis.com/index.html and put it in the corresponding Chrome installation path: C:\Program Files (x86) \google\chrome\application
Add the path to the system environment variable path at the same time
Firefox driver is set up in a similar way, with download links
Https://github.com/mozilla/geckodriver/releases
Iedriverserver Download Link:
Https://selenium-release.storage.googleapis.com/index.html
IE needs to be set specifically:
Must be in the Security page of the IE option set, the 4 zones of the Enable protection mode check is removed (or all ticked), that is, to maintain four areas of the protection mode is consistent
For IE10 and higher versions, the enhanced protected mode must be removed in the Advanced page of the IE Options settings
The browser's scaling must be set to 100% so that element positioning does not occur.
Https://github.com/easonhan007/webdriver_guide/blob/master/README.md
Build a Python development environment (with Selenium automation deployment)