CHAPTER 18
HTML5 and JavaScript
Web technologies are evolving. HTML5 includes many new features for more dynamic web applications and interfaces. Furthermore, with widespread use of JavaScript (thanks to popular JavaScript libraries such as JQuery), web sites nowadays are much more dynamic. In this chapter, I show some Selenium examples to test HTML5 elements and interactive operations.
Please note that some tests only work on certain browsers (Chrome is your best bet), as some HTML5 features are not yet fully supported in some browsers.
HTML5 email type field
Let’s start with a simple one. An email type field, like the one shown in Figure 18-1 ...
Get Selenium WebDriver Recipes in C#, Second 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.