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