Skip to content

Commit e29d533

Browse files
authored
Merge pull request #185 from seleniumbase/fix-chromedriver-version
Fix chromedriver version
2 parents e13c66b + 9b5fb18 commit e29d533

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ install:
2020
- "sudo rm -f /etc/boto.cfg"
2121
before_script:
2222
- "flake8 seleniumbase/*.py && flake8 seleniumbase/*/*.py && flake8 seleniumbase/*/*/*.py && flake8 seleniumbase/*/*/*/*.py"
23-
# - "wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo cp chromedriver /usr/local/bin/ && sudo chmod +x /usr/local/bin/chromedriver"
23+
# - "wget https://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo cp chromedriver /usr/local/bin/ && sudo chmod +x /usr/local/bin/chromedriver"
2424
# - "wget https://github.com/mozilla/geckodriver/releases/download/v0.21.0/geckodriver-v0.21.0-linux64.tar.gz -O /tmp/geckodriver.tar.gz && tar -C /opt -xzf /tmp/geckodriver.tar.gz && sudo chmod 755 /opt/geckodriver && sudo ln -fs /opt/geckodriver /usr/bin/geckodriver && sudo ln -fs /opt/geckodriver /usr/local/bin/geckodriver"
2525
# - "wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && tar -xvf ./phantomjs-2.1.1-linux-x86_64.tar.bz2 && export PATH=$PWD/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
2626
- "seleniumbase install chromedriver"

console_scripts/sb_install.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,17 @@ def main():
8383
raise Exception("Cannot determine which version of Chromedriver "
8484
"to download!")
8585

86-
latest_version = requests.get(
87-
"http://chromedriver.storage.googleapis.com/LATEST_RELEASE").text
86+
# latest_version = requests.get(
87+
# "http://chromedriver.storage.googleapis.com/LATEST_RELEASE").text
88+
#
89+
# ### Chromedriver 2.41 / latest may have issues. Forcing 2.40 for now.
90+
latest_version = "2.40"
8891
download_url = ("http://chromedriver.storage.googleapis.com/"
8992
"%s/%s" % (latest_version, file_name))
9093
print('\nLocating the latest version of Chromedriver...')
9194
if not requests.get(download_url).ok:
9295
# If there's a problem with the latest Chromedriver, fall back
93-
fallback_version = "2.41"
96+
fallback_version = "2.40"
9497
download_url = ("http://chromedriver.storage.googleapis.com/"
9598
"%s/%s" % (fallback_version, file_name))
9699
print("Found %s" % download_url)

help_docs/webdriver_installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ brew cask install chromedriver
3737
brew install geckodriver
3838
```
3939

40-
(NOTE: If your existing version of chromedriver is less than 2.41, **upgrading is required** in order to keep up with the latest version of Chrome!)
40+
(NOTE: If your existing version of chromedriver is less than 2.40, **upgrading is required** in order to keep up with the latest version of Chrome!)
4141

4242
```bash
4343
brew cask upgrade chromedriver
@@ -50,7 +50,7 @@ brew upgrade geckodriver
5050
If you still need the web drivers, here are some scripts to help you install chromedriver and geckodriver on a Linux machine:
5151

5252
```bash
53-
wget http://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
53+
wget http://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip
5454
unzip chromedriver_linux64.zip
5555
mv chromedriver /usr/local/bin/
5656
chmod +x /usr/local/bin/chromedriver

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='seleniumbase',
10-
version='1.13.4',
10+
version='1.13.5',
1111
description='Web Automation & Testing Framework - http://seleniumbase.com',
1212
long_description='Web Automation and Testing Framework - seleniumbase.com',
1313
platforms='Mac * Windows * Linux * Docker',

0 commit comments

Comments
 (0)