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 ...

Get Learning Selenium Testing Tools - Third Edition 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.