I am automating my web application using Karate UI. I want to save a file from the application to a specific location to validate. By default, it is getting saved in the system downloads folder. How do I change this download path?
I have tried
in karate.config(---)
You may be able to do this if you control the user data dir. One of the things you can try is to move a pre-created profile where the system directory is set correctly etc.
Else please assume this is not supported - you are welcome to contribute code and research.
The recommendation is to use Karate's API testing capabilities to download a file to a controlled location: https://stackoverflow.com/a/67018365/143475
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.