1

I am trying to attach file to upload with form in safari browser. Element is searchable but file is not attached.

<input type="file" id="file" name="file" maxlength="255" onchange="copyfile();" style="width: 59px; ">

using following command

b.file_field( :id=>"file" ).set "/Users/......../Desktop/abc"
returns
=> "/Users/......../Desktop/abc"

but file not populate in file field

Any ideas?

Željko Filipin
  • 56,372
  • 28
  • 94
  • 125

1 Answers1

3

Issue 4220: The SafariDriver does not support file uploads

Željko Filipin
  • 56,372
  • 28
  • 94
  • 125