You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
When I upload multiple files via Firefoxdriver it dose not works
and my code snippet shows below:
#upload file
file_path=r"E:\python project\Selenium\upload folder\Chrysanthemum.jpg"
file_path1=r"E:\python project\Selenium\upload folder\Sleep Away.mp3"
pathes='"'+file_path+'"'+" "+'"'+file_path1+'"'
file_input.send_keys(pathes) #file_input is input file element
Note: if upload single file it works.(for example: file_input.send_keys(file_path))
Meanwhile, I run above codes via InternetExploredriver it works.
For chromedriver, should be coding that:
file_input.send_keys(file_path,"\n",file_path1)
For multiple files, how to do for Firefoxdriver? which string should be use to separated?
Thanks!
Reported by KevinLu0306 on 2014-03-19 00:09:42
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 7099
Reported by
KevinLu0306
on 2014-03-19 00:09:42The text was updated successfully, but these errors were encountered: