Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Mobile Devices

We are currently seeing an explosion of mobile devices in the market. A lot of them are more powerful than your average computer was just over a decade ago. This means that in addition to having nice, clean, responsive, and functional desktop applications, we are starting to ensure the same basic functionality is available to mobile devices. In this chapter, we will be looking at how we can set up mobile devices to be used with Selenium WebDriver.

In this chapter, we will learn:

  • How to use the stock browser on Android

  • How to test with Opera mobile

  • How to test on iOS

So, let's get on with it.

While you can use the Android emulator for the Android parts of this chapter, it is highly recommended that you have a real device that you can use. The reason is that the emulator tries to emulate the hardware that the phones run on. This means that it needs to translate it to a low-level command that ARM-based devices will understand. A real iOS device is not needed since we are...