I have a html element
<input type=file multiple="">
How can I use send_keys to upload multiple files?
Currently this works with uploading single file. I want to use this to upload multiple files
I tried Comma separated paths but no luck.
I have a html element
How can I use send_keys to upload multiple files? Currently this works with uploading single file. I want to use this to upload multiple files I tried Comma separated paths but no luck. |
||||
|
First, send all files to the element and then submit. Following is Ruby code, but you can apply same logic for Python:
I'm not sure if this will work, but just give a try and let me know the result. |
|||
|
I tried this. uploader.send_keys 'path_to_file1'will upload file1 and when i try to upload file2, exception is thrown saying "uploader" element cannot be interacted with I did a uploader.is_enabled() It gives me false |
|||
|