问题
When using KarateDriver, I want to upload and download files on the browser.
Upload : Using
<input type="file" />
Download : Browser download. The response header is
Content-Disposition: attachment; filename=sample.txt
But I don't know how to do it. Is that possible?
回答1:
Sorry we haven't implemented it yet. If you have some sample Selenium code we can take a look at that. Maybe we should open a feature request.
来源:https://stackoverflow.com/questions/56329658/can-upload-download-files-at-karate-driver