phenomenon
Today, I changed the default browser to chrome. As a result, an error was reported as soon as the script was run. The specific error message is as follows.
After searching for a long time, I found out that my version of chromedriver.exe was too old, and it was fine after upgrading to the latest version. There is a small problem here. The version rule of Selenium is the major version number + the minor version number, so:
- 2.1 is much earlier than 2.10
- 2.9 is earlier than 2.10
The chronological order of each version, from newest to oldest, is:
- 2.19>2.10>2.9>2.1
http://selenium-release.storage.googleapis.com/index.html
- Chrome Driver:
http://chromedriver.storage.googleapis.com/index.html
- PhantomJS Driver:
http://phantomjs.org/download.html