コード例 #1
0
 private File screenshotFileFrom(final String screenshot) {
   return FileSystemUtils.getResourceAsFile(screenshot);
 }
コード例 #2
0
 private File screenshotFileFrom(final String screenshot) {
   return FileSystemUtils.getResourceAsFile(screenshot);
   //        URL sourcePath = getClass().getResource(screenshot);
   //        return new File(sourcePath.getPath());
 }