ESOCKETTIMEOUT errors usually indicate that the browser has crashed executing your tests, which may happen for several reasons. 

These are the most common reasons they occur:

  • Too many tabs are opened during the test. Please use I.closeTab()  to close tabs no longer relevant to the test.
  • The application being tested is consuming a lot of CPU and memory, or is leaking memory. This is usually indicative of a performance issues on the application. This is common on Single Page Applications or pages that contain a lot of images, videos, or advertisements. Your front-end developers may run a Lighthouse performance audit to further diagnose the issue. 
  • There is a Javascript code that's running an infinite loop on the page. 

If you are not sure why you are getting ESOCKETTIMEOUT errors, please contact the support team and report the issue. 

Did this answer your question?