UseCase "Ensure that the correct combination of versions of Firefox and of selenium-webdriver is installed"
In July 2016 for example, selenium-webdriver 2.53 does not work with Firefox 47.1
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 -vfor Firefox' version installed
[email protected]:/vagrant/mediawiki/tests/browser$ bundle showwhich 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
- 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
To upgrade selenium-webdriverto the newest version, run
[email protected]:/vagrant/mediawiki/tests/browser$ bundle update selenium-webdriver