ScreenshootingStrategy strategy = serviceLoader.get()
.onlyOne(ScreenshootingStrategy.class, DefaultScreenshootingStrategy.class);
strategy.setConfiguration(configuration.get());
ScreenshooterEnvironmentCleaner cleaner = serviceLoader.get()
.onlyOne(ScreenshooterEnvironmentCleaner.class, DefaultScreenshooterEnvironmentCleaner.class);
this.strategy.set(strategy);
this.cleaner.set(cleaner);