Hello,
I am doing a test that downloads the file, reads it and then deletes it using the following code:
WebUI.waitForElementClickable(findTestObject(‘/button_download2’), 2)
WebUI.click(findTestObject(‘/button_download2’))
WebUI.delay(4)
File fileReport = new File(‘C:/Users/Downloads/report.csv’)
String data = FileUtils.readFileToString(fileReport)
boolean fileSuccessfullyDd = new File(‘C:/Users/Downloads/report_flux.csv’).delete()
System.out.println(fileSuccessfullyDd)
I also updated the Desired Capability
How can I change the download path ?
ANY Help Please !!