Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 4d5d0ac

Browse files
committed
Merge pull request #2901 from Tenzer/chromium-script-other-linuxes
Provide a fallback chromedriver for other Linuxes as well
2 parents df301bb + 8a91061 commit 4d5d0ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/chromium/script.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class bcolors:
4141
#Debian is lowercase when platform.linux_distribution() is used.
4242
#This is not a mistake.
4343
chromedriver_path = "/usr/lib/chromium/chromedriver"
44+
else:
45+
# Let's hope it's in the user's path.
46+
chromedriver_path = "chromedriver"
4447
else:
4548
# Let's hope it's in the user's path.
4649
chromedriver_path = "chromedriver"

0 commit comments

Comments
 (0)