1, Java Environment, configure the appropriate environment variables.
See if the configuration is successful as follows:
2, Python environment, configure the corresponding environment variables. Includes two paths of Python and python/scripts
See if the configuration is successful as follows:
3, installation Selenium
Via PIP installation, enter under Python path: py-2-m pip install selenium installation
4, download the browser, and need to install the corresponding Webdriver
If you download Firefox http://www.firefox.com.cn/, download Gectkodriver https://github.com/mozilla/geckodriver/releases/
If you download Google Browser, the corresponding webdriver download path is Http://npm.taobao.org/mirrors/chromedriver
If you download IE browser, the corresponding http://selenium-release.storage.googleapis.com/index.html
5, install the editor, such as Pycharm
After the installation is complete, you can verify that the browser can be opened and into the appropriate interface (especially note that the browser needs to install Webdriver, I was here for a long day):
Selenium+python Environment Construction