UseCase "Ensure that the correct combination of versions of Firefox and of selenium-webdriver is installed"
From SMW CindyKate - Main
Component 153610
Content
The newest version of selenium-webdriver might not work as expected with Firefox' newest version.
So you have to ensure a working combination of Firefox and selenium-webdriver versions. LinuxCompetenceCenter/mediawiki-vagrant currently installs:
- selenium-webdriver 2.53.4 alongside
- Firefox 45.0.2
You can check the versions installed by
-
[email protected]:/vagrant/mediawiki/tests/browser$ firefox -v
for Firefox' version installed -
[email protected]:/vagrant/mediawiki/tests/browser$ bundle show
which reveals selenium-webdriver's version as used by the corresponding test execution scripts
Changing versions of selenium webdriver and/or Firefox used by the corresponding test execution scripts
Firefox
- Download a version from firefox-mozilla-build
- E.g. for Ubuntu, install by something like
dpkg -i /tmp/firefox-mozilla-build_X.X.X-0ubuntu1_amd64.deb
selenium-webdriver
To upgrade selenium-webdriverto the newest version, run
[email protected]:/vagrant/mediawiki/tests/browser$ bundle update selenium-webdriver