Incorrect naming convention
naiduv opened this issue · comments
Venkat,
The reason why the tool did not find the label for the input element is because the "for" attribute do not match with the input element "id" attribute. https://www.w3.org/wiki/HTML/Elements/label#HTML_Attributes
If you are able to change the "for" label attribute to match to "id" input attribute, the tool will give you "password" and "userName" variable names (camel case of label text).
I will take this issue as an enhancement to the tool. Thanks, Venkat.
Version 1.2.2 should return better result without modifying the page source, otherwise please reopen this issue.
Sounds good!