/**
  * {@inheritdocs}
  */
 public function initializeContext(Context $context)
 {
     // All contexts are passed here, only DrupalAwareInterface is allowed.
     if (!$context instanceof ScreenshotAwareInterface) {
         return;
     }
     // Add all parameters to the context.
     $context->setScreenshotParameters($this->parameters);
 }