Briefly describe the problems encountered in setting up the environmental process:
1. Preparing the material stage, no problem.
Jdk
Eclipse
Selenium
Chromedriver
It is important to note that the chrome version, the chrome driver version, and the selenium version are packaged. Baidu can get the corresponding relationship.
2. Configure the installation:
In the early days, I mistakenly thought that the selenium downloaded in Firefox is usually considered selenium, not really. Firefox is a seleniumide thing, it is the function of the interface to record playback and simplify the script writing. Use graphical interface operations instead of plain code test script writing. The true meaning of the selenium should be seleniumserver. Selenium's architecture and composition The following blog is very clear.
72843984
3. Stepping on the pit
The browser does not call up. Eclipse Error
Starting Chromedriver 2.38.552522 (437E6FBEDFA8762DEC75E2C5B3DDB86763DC9DCB) on port 9475
Only local connections is allowed.
It turned out that chromedriver misplaced the position. Placed in the Seleniumserver directory, in fact, should be placed under the Chrome installation path and then start sever to perform the test.
Problems in Java+selenium environment construction