First, install Eclipse
Specific can refer to http://jingyan.baidu.com/article/fea4511a130b59f7bb912503.html, step more detailed
Second, build Python+selenium environment
Specific reference http://wenku.baidu.com/link?url=p6wc6Y2mVjZBb7_FVq41372h-MX4BrRhLccHUREWZqupI6s5Wpie7_ I0mfmtgylvvjnfofvmwta3l8p7rsesrlaag5afatr704yvlupw2de
Python currently supports more than 2.7 versions of plug-ins and libraries, 3.X version and 2.7 differences, specific to individual choice; Selenium recommended to install version 2.0
Third, install Firefox and components
The current web Automation multi-use Firefox browser, personal preference for Firefox, version selection of 40 or less version, measured 43. Version compatibility after x is not good, some selenium instructions cannot be executed.
Add-ons require installation of firebugs and Firepath for positioning frame and element
Python+selenium+eclipse performing web automation (i) Preparation