My project fails due to late browser response, it never reaches final goal. The symptom is that it stops to execute, in different positions. What can I do to solve it, prevent from stopping (jamming). I have no influence on timing how fast will I get response.
Use try catch on the activities that fail the most often or wait for an element if the app is loading)
Target → WaitForReady.COMPLETE
would example above be a good solution?
Yes, also maintain timeout
Target → WaitForReady.COMPLETE works perfectly with js scripts, no more problems with latency.