Exemple #1
0
 /**
  * @return self
  */
 public function click()
 {
     $this->crawler->click($this->id);
     return $this;
 }
 /**
  * @param  CrawlerInterface $crawler
  * @param  string           $id
  * @param  string           $text
  * @return string
  */
 public function text(CrawlerInterface $crawler, $id, $text)
 {
     return false !== mb_stripos($crawler->getText($id), (string) $text);
 }