© Courtney Zhan, Edited by Zhimin Zhan 2024
Z. Zhan (ed.)Selenium WebDriver Recipes in C#https://doi.org/10.1007/979-8-8688-0023-8_18

18. HTML5 and JavaScript

Courtney Zhan1  
(1)
Fitzgibbon, QLD, Australia
 

Web technologies are evolving. HTML5 includes many new features for more dynamic web applications and interfaces. Furthermore, with the wide use of JavaScript (thanks to popular JavaScript libraries such as JQuery), websites nowadays are much more dynamic. This chapter will 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 fully supported in all browsers yet.

HTML5 Email Type Field

Let's start with a simple ...

Get Selenium WebDriver Recipes in C#: Practical Testing Solutions for Selenium WebDriver 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.