1. First you need to install Python, the installation procedure is not described in detail, please refer to: http://www.cnblogs.com/jinshengshun/p/6102012.html
2. When installing Python, the PIP is already included, so use Pip to install selenium directly. Enter the command installation directly under D:\Python\Scripts: Pip Install-u Selenium. (which is the Python installation path)
3. When you enter the command installation again under D:\Python\Scripts: Pip install-u Selenium prompt selenium has been installed, and tells us to install the path;
At this time, the python+selenium environment has been basically built.
In view of compatibility with the browser, you need to install driver. This is the Chrome browser you use this time. So you need to install chrome driver.
is: http://download.csdn.net/detail/lansefaji/8758887
http://chromedriver.storage.googleapis.com/index.html?path=2.20/
Copy the downloaded. exe file to the installation directory of chrome and add the directory to the environment variable path
At this point, the construction of the environment has been completed, you can start to write automation code ~ ~ ~
"Selenium and Python Automated test environment setup"