Download proper version of chromedriver

This commit is contained in:
Boni Garcia
2018-07-24 15:59:11 +02:00
parent 064331de0e
commit b40ec48136
3 changed files with 17 additions and 8 deletions
+1 -2
View File
@@ -125,8 +125,7 @@ def appium_run(avd_name: str):
cmd += ' --relaxed-security'
default_web_browser = os.getenv('BROWSER')
if default_web_browser == 'chrome':
cmd += ' --chromedriver-executable {driver}'.format(driver=CHROME_DRIVER)
cmd += ' --chromedriver-executable {driver}'.format(driver=CHROME_DRIVER)
grid_connect = convert_str_to_bool(str(os.getenv('CONNECT_TO_GRID', False)))
logger.info('Connect to selenium grid? {connect}'.format(connect=grid_connect))