}
if (elem.hasAttribute("value") &&
elem.tagName === "INPUT" &&
- isAnyOf(elem.getAttribute("type"), ["reset", "button"])) {
+ isAnyOf(elem.getAttribute("type"), ["reset", "button", "submit"])) {
addString(elem.getAttribute("value"), locator(elem));
}
}