可以通过空手道驱动程序上传/下载文件吗? [英] Can upload / download files at Karate Driver?
本文介绍了可以通过空手道驱动程序上传/下载文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用KarateDriver时,我想在浏览器中上载和下载文件.
When using KarateDriver, I want to upload and download files on the browser.
-
上传:使用
<input type="file" />
下载:浏览器下载.响应标头为Content-Disposition: attachment; filename=sample.txt
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?
推荐答案
抱歉,我们尚未实现它.如果您有一些示例硒代码,我们可以看一下.也许我们应该打开功能请求.
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.
这篇关于可以通过空手道驱动程序上传/下载文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文