Validating download file in Nightwatch

早过忘川 提交于 2019-12-08 05:00:34

问题


I am Trying to write a test using nightwatch js to validate the file is downloaded after click on button/link in the web page. No need to check data inside file, i would only require to check if the file is downloaded or not. Also before I download I have to delete the existing files from download folder so that copy of same file doesn't occur. How this can be achieved in Nightwatch js? Please help me.

来源:https://stackoverflow.com/questions/47186671/validating-download-file-in-nightwatch

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