dalekjs / dalek-internal-webdriver

[unmaintained] Webdriver bindings for DalekJS
MIT License
4 stars 5 forks source link

Fixed issue with sending special keys #1

Closed ryanzec closed 11 years ago

ryanzec commented 11 years ago

Right now there is a bug in the dalek-internal-actions repo (https://github.com/dalekjs/dalek-internal-actions/issues/1) about special keys not working. The reason the special key are not working is because they use UTF-8 characters in order to send them. Looking through the selenium's webdriver code, it seems like they send all requests with a method of POST or PUT with UTF-8 encoding so I have updated the driver's generateRequestOptions() method to do the same.

asciidisco commented 11 years ago

So überawesome. Thx for the patch :)