Closed karishmayadava23 closed 9 months ago
Did you manage to solve the above? I am facing a similar issue with chrome, once every dozen executions or so, and wasn't able to handle it yet... (try/catch doesn't help)
Can you share what your code looks like?
Sorry, I cannot share the code, the structure is very simple - it opens a browser, with some flags, runs some tests and continues over and over..
After long analysis it is discovered that if there are certain network issues, which the browser faces when trying to surf the web, Taiko is unable to handle them and thinks the browser was closed (hence throws this error).
In our case it ended up being some network misconfiguration, which we fixed, and made the issue go away - but probably proper error handling needs to be added to Taiko for these.
Discussed in https://github.com/getgauge/taiko/discussions/2697