Updating Firefox ESR and Selenium to newest versions

This commit is contained in:
englehardt 2017-07-28 16:33:27 -04:00
Родитель 054a0e8784
Коммит d3f0745325
2 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -57,11 +57,11 @@ if [ "$TRAVIS" != "true" ]; then
sudo pip install -U -r requirements.txt
fi
# This is the latest version of Firefox 52ESR as of March 10, 2017.
# This is the latest version of Firefox 52ESR as of July 28, 2017.
# For security reasons it is very important to keep up with patch releases
# of the ESR, but a major version bump needs to be tested carefully.
# Older ESRs are not supported by geckodriver.
FIREFOX_VERSION=52.0esr
FIREFOX_VERSION=52.2.1esr
wget https://ftp.mozilla.org/pub/firefox/releases/${FIREFOX_VERSION}/linux-$(uname -m)/en-US/firefox-${FIREFOX_VERSION}.tar.bz2
tar jxf firefox-${FIREFOX_VERSION}.tar.bz2
@ -69,8 +69,9 @@ rm -rf firefox-bin
mv firefox firefox-bin
rm firefox-${FIREFOX_VERSION}.tar.bz2
# Selenium 3.3 requires a 'geckodriver' helper executable, which is not
# yet packaged.
# Selenium 3.3+ requires a 'geckodriver' helper executable, which is not yet
# packaged. `geckodriver` 0.16.0+ is not compatible with Firefox 52. See:
# https://github.com/mozilla/geckodriver/issues/743
GECKODRIVER_VERSION=0.15.0
case $(uname -m) in
(x86_64)

Просмотреть файл

@ -19,5 +19,6 @@ tblib
tld
# Python 3 is not fully supported prior to Selenium 3.x.
# Versions prior to 3.3.0 may work but have not been tested.
selenium>=3.3.0
# Geckodriver requires Selenium 3.4+, see:
# https://github.com/mozilla/geckodriver#selenium
selenium>=3.4.0