Selenium: FileUtils.copyFile throws a FileUtils cannot be resolved error with Selenium WebDriver Java 3.6.0

Created on 20 Oct 2017  路  3Comments  路  Source: SeleniumHQ/selenium

I just installed Selenium WebDriver Java version 3.6.0. When I did that, FileUtils.copyFile throws a FileUtils cannot be resolved error. (Check the attachment for illustration). I'm going to revert back to Selenium WebDriver Java version 3.5.3 because it doesn't have the error

futil

Most helpful comment

It's FileHandler.copy(File, File) now.

All 3 comments

It's FileHandler.copy(File, File) now.

Thanks @barancev. Saved my day!

Thanks

Was this page helpful?
0 / 5 - 0 ratings