issue is related to: https://github.com/appium/appium-desktop/issues/498
Appium inspector does not keep the session active.
User use Appium inspector connected to Custom server.
After 5 mins of inactivity appears some popup which asks user what to do with current session.
Problem appears if user haven't seen that popup
Session Inactive
Your session is about to expire
buttons: [quit session] [keep session]
Because of coding in other window
After returning to Appium inspector user see:
Error
Session closed due to inactivity
I've tried to set the newCommandTimeout: 1800 (30 min) in desiredCapabilities. Still the same.
As I understand this solution is required for some cloud services (like BrowserStack)
newCommandTimeout from desiredCapabilities and use it as inactivity timeout.Yeah, I need to revisit this. This feature seems to have problems.
Yeah, this is a bit annoying since my app clears the session details everytime it is launched, so I have to login everytime Appium closes the session.
This will be in next version. I've set the timeout to 24 hours instead of 5 minutes.
Most helpful comment
This will be in next version. I've set the timeout to 24 hours instead of 5 minutes.