operasoftware/operadriver — pull request #66 by wladich (2012-02-22 08:46:11+00:00)
Title: fix sendKeys function for file-upload inputs

Current implementation of sendKeys for file inputs simply clicks on element, which causes system dialog to appear, but does not set text and close dialog.

Proposed fix uses jna library to send string to edit-element of open-file dialog and click OK button, similiar to IEDriver implementation.
Works on windows only, checked in WinXP and Win7.

Proposed by Mail.Ru Group