Can upload / download files at Karate Driver?

风格不统一 提交于 2021-01-28 11:11:32

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!