Update app.py

The Problem : Selenium grid 3.0.1 marking the node as down
Solution: Node config should be changed
This commit is contained in:
ilya-netomedia 2017-05-25 17:48:59 +03:00 committed by GitHub
parent 151e3a8d6f
commit bedf77e83d

View file

@ -153,7 +153,8 @@ def create_node_config(avd_name: str, browser_name: str, appium_host: str, appiu
'register': True,
'registerCycle': 5000,
'hubHost': selenium_host,
'hubPort': selenium_port
'hubPort': selenium_port,
'unregisterIfStillDownAfter': 120000
}
}
logger.info('Appium node config: {config}'.format(config=config))