Skip to content

Commit 8a91061

Browse files
committed
Provide a fallback chromedriver for other Linuxes as well
1 parent fd21a2f commit 8a91061

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)