myDartiumInitial = DartiumUtil.getDartiumBrowser();
myDartiumSettingsCurrent = new ChromeSettings();
if (myDartiumInitial != null) {
final BrowserSpecificSettings browserSpecificSettings = myDartiumInitial.getSpecificSettings();
if (browserSpecificSettings instanceof ChromeSettings) {
myDartiumSettingsCurrent = (ChromeSettings)browserSpecificSettings.clone();
}
}
myModuleToCustomPackageRootsCurrent.clear();
for (final Module module : ModuleManager.getInstance(myProject).getModules()) {