lib/capybara/poltergeist/client/compiled/node.js in poltergeist-1.0.1 vs lib/capybara/poltergeist/client/compiled/node.js in poltergeist-1.0.2
- old
+ new
@@ -67,9 +67,10 @@
return this.page === other.page && this.isDOMEqual(other.id);
};
Node.prototype.set = function(value) {
this.focusAndHighlight();
+ this.page.sendEvent('keypress', 16777219);
this.page.sendEvent('keypress', value.toString());
return this.blur();
};
return Node;