/**
  * {@inheritdoc}
  */
 public function getText($xpath)
 {
     $result = $this->browser->getText(SeleniumLocator::xpath(utf8_decode($xpath)));
     return preg_replace("/[ \n]+/", " ", $result);
 }