Handle form elements in fetchText
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -230,7 +230,7 @@ | ... | @@ -230,7 +230,7 @@ |
230 | var text = '', elements = this.findAll(selector); | 230 | var text = '', elements = this.findAll(selector); |
231 | if (elements && elements.length) { | 231 | if (elements && elements.length) { |
232 | Array.prototype.forEach.call(elements, function _forEach(element) { | 232 | Array.prototype.forEach.call(elements, function _forEach(element) { |
233 | text += element.textContent || element.innerText; | 233 | text += element.textContent || element.innerText || element.value; |
234 | }); | 234 | }); |
235 | } | 235 | } |
236 | return text; | 236 | return text; | ... | ... |
-
Please register or sign in to post a comment