Another option would be to get the download link using selenium and then use
Java to download the file:
https://github.com/Ardesco/Ebselen/blob/master/ebselen-core/src/main/java/co
m/lazerycode/ebselen/customhandlers/FileDownloader.java
driver = webdriver.Firefox(firefox_profile=fp)
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to
selenium-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/selenium-users?hl=en.
--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
If you have received this email in error please notify postm...@ardescosolutions.com
fp = webdriver.FirefoxProfile()
fp.set_preference("browser.download.folderList", 2) # 0 means to download to the desktop, 1 means to download to the default "Downloads" directory, 2 means to use the directory you specify in "browser.download.dir"
fp.set_preference("browser.download.dir", "/tmp" )
fp = webdriver.FirefoxProfile()
fp.set_preference("browser.download.folderList",2)
fp.set_preference("browser.download.manager.showWhenStarting",False)
fp.set_preference("browser.download.dir", "/tmp")
fp.set_preference("browser.helperApps.neverAsk.saveToDisk", "text/html")[Error 3] The system cannot find the path specified: 'c:\\users\\semashko\\appdata\\local\\temp\\tmpx7susu/*.*'
but I have this error
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/567a1cee-fb82-4d60-a211-e33ebd603bf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.