/**
  * {@inheritdoc}
  */
 public function getCookie($name)
 {
     if ($this->browser->isCookiePresent($name)) {
         return $this->browser->getCookieByName($name);
     }
     return null;
 }