Introduction
As HTML5 is gaining popularity, major browsers are now equipped to support HTML5, extending the scope of HTML combined with JavaScript and CSS3 into powerful, rich internet applications. There are many applications being developed that use new HTML5 elements such as canvas and video, as well as features such as web storage.
Selenium WebDriver supports testing HTML5 web applications on certain browsers out of the box. However, we can also use JavaScript to test these features, which will work on all the browsers supported by Selenium WebDriver.
In this chapter, we will focus on the most important features of HTML5, and see how to test them using Selenium WebDriver.