Keyup, keydown and keypress events when using browser.fill #465

Merged
merged 1 commit into from Jan 4, 2013

Projects

None yet

2 participants

@dmauro
Contributor
dmauro commented Jan 4, 2013

This change fires keyup, keydown and keypress events in addition to the change event when using browser.fill. This behavior is more similar to the events one may expect to be fired when a user is filling out an input field.

Additionally, if the value of the input has not actually changed (using browser.fill("input", "") when the input is already empty for instance) no events will fire.

David Mauro Fire keyup, keydown, keypress events from browser.fill
And prevent those events from firing when the value has not actually
changed.
99bd6f7
@assaf assaf merged commit 5457e38 into assaf:master Jan 4, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment