Do automation also a long time, this period of time the project early on nothing to do in the review before the seleniu+python of knowledge, now want to do a simple record, but also for their own learning has a driving effect bar.
Above.
First, Python:
https://www.python.org/
There is not much comment on the choice of Python version, but it is recommended that you use the 3.x version.
Follow the instructions in the picture to download the installation package and your own operating system, and do not repeat the download process too much.
When the installation is complete, open My Computer and right-click Properties
Click Environment variables to open the environment variable configuration interface.
Drop-down to find path and select, click the Edit button to edit
Fill in path with the following paths (my Python installation path is C:\Python36, as modified by my own installation directory.) )
c:\python36;c:\python36\scripts;
Open a command prompt, enter Python, and the installation succeeds as shown below:
Reopen the command prompt and enter:
python-m pip Install--upgrade pip
Download the corresponding PIP package
Re-enter:
Pip Install Selenium
Download and install the corresponding selenium package for installation.
When the installation is complete, enter:
Pip Show Selenium
View Selenium corresponding version
Well, here selenium and Python are all installed, and the next section tells you how to download the corresponding browser driver.
Python+selenium (1)--Environment construction