Fixed issue #52

This commit is contained in:
butomo1989 2018-05-11 00:43:16 +02:00
parent 2d25517bfa
commit 29898ba91e

View file

@ -105,7 +105,8 @@ def appium_run(avd_name: str):
:param avd_name: Name of android virtual device / emulator
"""
cmd = 'appium'
DEFAULT_LOG_PATH = '/var/log/supervisor/appium.log'
cmd = 'appium --log {log}'.format(log=os.getenv('APPIUM_LOG', DEFAULT_LOG_PATH))
default_web_browser = os.getenv('BROWSER')
if default_web_browser == 'chrome':