Chapter 9. Testing HTML5 Web Applications

In this chapter, we will cover:

  • Automating the HTML5 video player
  • Automating interaction on the HTML5 canvas element
  • Web storage – testing local storage
  • Web storage – testing session storage
  • Cleaning local and session storage

Introduction

As HTML5 is gaining popularity, major browsers are now equipped to support HTML5, extending the scope of the HTML combined with JavaScript and CSS3 into powerful, rich Internet applications. There are many applications being developed using new HTML5 elements such as canvas, video, and so on, and features such as web storage giving users a rich Internet experience. For many web developers adopting these standards, it is essential that we test these features automatically.

Selenium ...

Get Selenium Testing Tools Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.