in src/main/java/com/microsoft/appcenter/appium/DriverHelper.java [80:88]
private static Path copyToWorkspace(File file) {
Path target = Paths.get(workspace, file.getName());
try {
Files.copy(file.toPath(), target, StandardCopyOption.REPLACE_EXISTING);
} catch (IOException e) {
throw new RuntimeException("Failed to write screenshot to disk", e);
}
return target;
}