Compared to the automation testing tool QTP, selenium is small, free, and compatible with Google, FireFox, IE multiple browsers, more and more people began to use selenium for automation testing.
I am using python 2.7, the following is to say selenium + Python automation test environment build.
Install the Python environment, download the installer from the python website
Double-click the installation package to install
You can select the python installation directory and follow the steps until you are done.
In earlier versions, you needed to install setuptools and pip separately, but in newer versions of the python installer, setuptools and pip are integrated, so you don't need to install them separately.
Add python to the environment variables C:\Python27\Scripts, C:\Python27\Lib, C:\Python27\Scripts
To install selenium using pip, type: pip install selenium at the command line and run the command
Complete the selenium installation