how to do sendKeys to input type="file" in safaridriver to select file

Solved 1 Answers 73 Views Test Automation
I am using safaridriver. I have chellange in sending file name to safaridriver.

1 Answer

Best answer
You can really do send keys to safari browser driver where input type is of file.

<input type="file" />

This is a bug: https://code.google.com/p/selenium/issues/detail?id=4220


Also we can not manupulate this using JavaScript for security reasons.
answered Feb 10, 2016 by anonymous
selected Mar 7 by stbadmin