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.
If you are not sure why you are getting ESOCKETTIMEOUT errors, please contact the support team and report the issue.