detro/ghostdriver — pull request #89 by jimevans (2012-10-09 22:41:18+00:00)
Title: File upload hack

Resubmitted pull request after `git rebase`

This pull request is a gross hack so that file uploading will work with GhostDriver. I'm submitting the pull request only to get the issue on the radar. The hack is clearly marked with comments in the code. To make this work correctly, we will need a proper fix in the PhantomJS project, or we will need to manipulate an attribute of the element so that the PhantomJS uploadFile() method can uniquely find the file upload element on the page.