HTML forms are composed with different types of elements, including <form>
, <input>
, <button>
, and <label>
as shown in the following diagram. Web developers use these elements to design the web page to display data or accept data from users. The developers write HTML code for web pages defining these elements. However, as an end user, we see these elements as the Graphical User Interface (GUI) controls such as textboxes, labels, buttons, checkboxes, and radio buttons. The HTML code is hidden from the end users.
Selenium WebDriver provides broad support for automating interaction with these elements as well as checking the functionality of the application.