[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user