Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

firefoxdriver dose on works when upload multiple files #7099

Closed
lukeis opened this issue Mar 4, 2016 · 5 comments
Closed

firefoxdriver dose on works when upload multiple files #7099

lukeis opened this issue Mar 4, 2016 · 5 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 7099

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

@lukeis lukeis self-assigned this Mar 4, 2016
@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

sorry, the title is typed wrong, should be "firefoxdriver dose not works when upload
multiple files"

Reported by KevinLu0306 on 2014-03-19 00:11:49

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

any one help me ?

Reported by KevinLu0306 on 2014-03-20 22:22:39

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2014-03-23 05:00:11

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

did you managed to make it work? 

Reported by histra on 2014-06-05 11:34:31

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:22:12

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 4, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant