Is there a way to interact with a File Upload box in webdriver? The form field where the path gets put in is read only so I can\'t write to that.
You can do this without injecting JavaScript. You just need to get hold of the form field and type into it. Something like (using the Ruby API):
driver.find_element(:id, 'upload').send_keys('/foo/bar')