this.plistContent = read(source);
}
private Map<String, Object> read(File plist) {
try {
NSObject object = PropertyListParser.parse(plist);
ApplicationInfo info = new ApplicationInfo(object);
return info.getProperties();
} catch (Exception ex) {
throw new WebDriverException(
String.format("In %s: Cannot parse %s: %s", source, plist.getAbsolutePath(), ex.getMessage()),