Can`t update chromedriver to 2.28
I ran the following command to update chromedriver to the latest version (2.28)
selenium-standalone install --drivers.chrome.version=2.28
selenium install:
from: https://selenium-release.storage.googleapis.com/3.0/selenium-server-standalone-3.0.1.jar
to: C:\Users\vkotulskyi\AppData\Roaming\npm\node_modules\selenium-standalone\.selenium\selenium-server\3.0.1-server.jar
---
chrome install:
from: https://chromedriver.storage.googleapis.com/2.28/chromedriver_win32.zip
to: C:\Users\vkotulskyi\AppData\Roaming\npm\node_modules\selenium-standalone\.selenium\chromedriver\2.28-x64-chromedriver
---
Then I started server
selenium-standalone start
But in the log a can see that the old chromedriver is still used.
Cannot launch browser chrome:
[setWindowSize(1400,1080)] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: unknown error: cannot get automation extension
from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=57.0.2987.110)
(Driver info: chromedriver=2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10.06 seconds
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: 'lvp*****', ip: '***.***.***.***', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
When selenium-standalone is installing files, it creates version specific files on disk. In your example, you can see it creating the 2.28-x64-chromedriver file for the version that you specified.
Now when the start command is run, there may be multiple chromedriver files in that folder, so it just chooses the default option, unless you provide an override like you did with the install command.
Can you try running selenium-standalone start --drivers.chrome.version=2.28 and see if that resolves your issue?
Please solve the issue https://github.com/vvo/selenium-standalone/issues/268