[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-10-18 11:59:44 +02:00
committed by Christophe Simonis
parent 0e388750c1
commit 8f8060faae
+1 -1
View File
@@ -390,7 +390,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: