/**
  * initialize screenshot context
  * @param  Context $context behat context
  * @return null
  */
 public function initializeContext(Context $context)
 {
     // All contexts are passed here
     if (!$context instanceof ScreenshotsContext) {
         return;
     }
     $screenshotsPath = $this->parameters['screenshot_path'];
     $context->setScreenshotPath($screenshotsPath);
 }