[FIX] tests: web tests, chromium fallback

On Ubuntu, the chromium executable is `chromium-browser`,
On other distributions, such as debian, it's `chromium`.

We therefore add another fallback
This commit is contained in:
Denis Ledoux
2018-09-14 11:28:56 +02:00
parent 058b1993ab
commit 4fb5c57dc5
+1 -1
View File
@@ -457,7 +457,7 @@ class ChromeBrowser():
def executable(self):
system = platform.system()
if system == 'Linux':
for bin_ in ['google-chrome', 'chromium-browser']:
for bin_ in ['google-chrome', 'chromium', 'chromium-browser']:
try:
return find_in_path(bin_)
except IOError: