pythonseleniumbrowserstack

Session timed out because the browser was idle for 90 seconds in Browserstack


I am running Automated Selenium tests in Browserstack my tests sometimes fail due to below error

Session timed out because the browser was idle for 90 seconds

In Browserstack settings, they have mentioned

IDLE TIMEOUT
If a session is idle for more than 90 seconds, the session is stopped, changing the session status to TIMEOUT on the dashboard.

But I cannot find a way to change this. Can anyone tell me how can I change this timeout?


Solution

  • You cannot change the IDLE Timeout duration for sessions on BrowserStack Automate. If you have a specific use case and need to increase the duration, I'd suggest contacting their support team.