Chapter 11. Working with HTML5
HTML5 has become one of the latest buzzwords to hit web development in the last couple of years. It has brought a number of useful items to web developers that make web applications act more like desktop applications. In this chapter, we will have a look at a number of the different technologies that cannot be accessed by normal clicking or typing.
In this chapter, we will learn the following topics:
Application cache
Browser connections
Web storage
So, let's get on with it.
This only works with AndroidDriver
, IPhoneDriver
, though some of it works in Firefox. When working through the examples, we will need to make sure that we use those objects. We will use the example class, as follows:
importorg.junit.*; importorg.openqa.selenium.*; public class TestChapter10 { WebDriver driver; @Before public void setUp(){ driver = new AndroidDriver(); driver.get("http://book.theautomatedtester.co.uk/chapter4"); } @After public void tearDown(){ ...