HTML Tags and Watir Methods
| HTML Tag |
Current Watir Method |
Suggested Watir Method |
Suggested Synonym(s) |
Done/Jira |
| <a> |
link |
a |
link |
|
| <area> |
area |
|
|
|
| <button> |
button |
|
|
|
| <custom_tag> |
|
element |
tag |
103 |
| <div> |
div |
|
|
|
| <form> |
form |
|
|
|
| <frame> |
frame |
|
|
|
| <h1> |
h1 |
|
|
|
| <h2> |
h2 |
|
|
|
| <h3> |
h3 |
|
|
|
| <h4> |
h4 |
|
|
|
| <h5> |
h5 |
|
|
|
| <h6> |
h6 |
|
|
|
| <iframe> |
frame |
iframe |
frame |
|
| <img> |
image |
img |
image |
|
| <input> |
|
input |
|
|
| <input type="button"> |
button |
|
input, input_button |
|
| <input type="checkbox"> |
check_box |
checkbox |
input, input_checkbox |
|
| <input type="file"> |
file_field |
input_file |
input |
|
| <input type="hidden"> |
hidden |
|
input, input_hidden |
|
| <input type="image"> |
button |
image |
input, input_image |
|
| <input type="password"> |
text_field |
password |
input, input_password, text_field |
|
| <input type="radio"> |
radio |
|
input, input_radio |
|
| <input type="reset"> |
button |
reset |
button, input, input_reset |
|
| <input type="submit"> |
button |
submit |
button, input, input_submit |
|
| <input type="text"> |
text_field |
input_text |
input, text_field |
|
| <label> |
label |
|
|
|
| <li> |
li |
|
|
|
| <map> |
map |
|
|
|
| <p> |
p |
|
|
|
| <pre> |
pre |
|
|
|
| <select> |
select_list |
select |
|
|
| <span> |
span |
|
|
|
| <table> |
table |
|
|
|
| <td> |
cell |
td |
cell |
|
| <textarea> |
text_field |
textarea |
text_field |
|
| <tr> |
row |
tr |
row |
|
|
|