Commit bb706acd bb706acdf38f30d2380ebd3897ba1d4cee74430c by Andy Gardner

Handle form elements in fetchText

1 parent df30390d
......@@ -230,7 +230,7 @@
var text = '', elements = this.findAll(selector);
if (elements && elements.length) {
Array.prototype.forEach.call(elements, function _forEach(element) {
text += element.textContent || element.innerText;
text += element.textContent || element.innerText || element.value;
});
}
return text;
......