Summary
In this chapter, we learned about the user-agent-simulation-based automation of mobile web applications. This automation approach is one of the quickest to set up and easiest to implement. However, since it is pure simulation, care must be taken to not overly rely on this approach, even for pure mobile web applications, as there a few scenarios where only a real device can be utilized, such as location-based testing and device interaction features such as swiping and scrolling. With a robust implementation of the framework, this approach can help you set up a comprehensive regression test suite that can be executed reliably over a range of devices and operating systems.
In the next chapter, we will look into the use of emulators and simulators and various techniques to automate emulated devices.