Process input type submit for translations

Fixes #997
This commit is contained in:
Samuel Mannehed 2018-01-11 01:10:59 +01:00
parent ce6d388c6e
commit 3729976a28
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function process(elem, locator, enabled) {
}
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));
}
}