|
Post by leiwang on Nov 11, 2016 2:26:24 GMT
Selenium needs a driver to communicate with a specific browser, SeleniumPlus has put these third party drivers (chromedriver.exe, IEDriverServer.exe etc.) under the folder %SELENIUM_PLUS%/extra. They are supposed to work well with the browser of certain version and earlier, but when the browser upgrades, they may fail to work and become obsolete, so fails StartWebBrowser. At this situation, we need to update the driver, we can visit the page www.seleniumhq.org/download/ and go to the section " Third Party Browser Drivers" to download the appropriate driver according to your browser and put it into the folder %SELENIUM_PLUS%/extra (it is suggested to backup the old driver before replacing it). The appropriate driver doesn't mean the latest one, it depends on the version of your browser, at the page www.seleniumhq.org/download/ you could see the description about that. After you change the driver, you might also need to get the appropriate selenium-server-standalone-version.xxx.jar and put it into %SELENIUM_PLUS%/libs As some browser will update automatically, and the old drivers will fail to work with them and become obsolete. That is the reason why "StartWebBrowser" could work before, and after one night it suddenly stop working.
|
|
|
Post by sascanagl on Dec 19, 2016 19:06:35 GMT
All: To avoid this problem from occurring unexpectedly, it is highly recommended the browsers used to perform your automated testing are NOT preset to allow automatic updates. It is these frequent automatic updates of browsers that often throw the biggest wrenches into the works of successful overnight automated testing!
|
|
|
Post by leiwang on Mar 23, 2017 7:18:43 GMT
|
|