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

Summary


We learned a lot in this chapter about using the HTML5 API that comes with Selenium WebDriver. These are helper methods that make our lives significantly easier when working against application cache or against web storage mechanisms.

Specifically, we covered:

  • The application cache API: We had a look at how we can access the browsers' application cache to see if it is downloading items into the cache or if the current app is uncached.

  • Browser connections: Web applications, with the help of HTML5, are getting the ability to work when they are offline. We have seen how, with the help of the application cache, we can load pages from the cache. We can also see whether the browser is currently online or offline, and on the mobile devices we can turn them to airplane mode.

  • WebStorage: In this section, we had a look at how we can access the WebStorage object that has been added to the HTML5 specification. Specifically, we had a look at localStorage and sessionStorage. Selenium WebDriver...