0

I need to download a file from Browser and i need to store it in particular place for that i am trying to use the below code but that was not working

browser = BrowserFactory.launch(BrowserType.CHROME);
browser = BrowserFactory.attach(new BrowserDescription.Builder().set(
                                     "download.default_directory",
                                      Constants.DOWNLOADS
                                   ).build()
                               );

Need a code to set browser capabilities to download a file from website and stored in my desired path by using UFT Developer

ruud
  • 743
  • 13
  • 22
  • I've re-tagged your question to [tag:leanft] which is what UFT Developer used to be called. [tag:hp-uft] is a different testing tool (from the same family). – Motti Jan 04 '23 at 12:54

0 Answers0