test-server/calabash-js/src/calabash.js in calabash-android-0.4.19.pre1 vs test-server/calabash-js/src/calabash.js in calabash-android-0.4.19.pre2
- old
+ new
@@ -34,9 +34,13 @@
res['class'] = object.className || '';
if (object.href)
{
res.href = object.href;
}
+ if (object.hasOwnProperty('value'))
+ {
+ res.value = object.value || '';
+ }
res.html = object.outerHTML || '';
res.textContent = object.textContent;
return res;
}
function toJSON(object)