sheebz / phantom-proxy

a lightweight proxy that lets you to drive phantomjs from node.
MIT License
137 stars 34 forks source link

Event object uses event as documented, not type #24

Closed AndrewRayCode closed 11 years ago

AndrewRayCode commented 11 years ago

Part of a small erroneous merge issue in ad6647c9 < should have been in there

just to clarify, your docs show you using { event: 'keypress' } and that's what the code uses as well, like in test/webpage.spec.js - it's all { event: ' ... ' } in sendEvent you try to pull the key type, I suppose you could change all the other references to type, but since it's documented as event, i'm making this change. it was supposed to be in the referenced commit.