Search code examples
pythonappium

appium with python: appium stop responding after 5 minutes sleep


I am using appium version 1.13.0

In my scenario i need to wait at some point 5 minutes and i noticed that after this 5 minutes of sleep the appium stop responding.

Is someones know about this issue ?


Solution

  • Most probably you have newCommandTimeout capability set to 300 (or less) seconds, you can increase it to the desired value as:

    desired_caps = {}
    desired_caps['newCommandTimeout'] = '600'
    #etc
    

    See Timeout Capabilities article for more information