Exemple #1
0
 public function amOnUrl($url)
 {
     $host = Uri::retrieveHost($url);
     $this->_reconfigure(['url' => $host]);
     $this->debugSection('Host', $host);
     $this->webDriver->get($url);
 }
 public function amOnUrl($url)
 {
     $host = Uri::retrieveHost($url);
     $this->_reconfigure(['url' => $host]);
     $page = substr($url, strlen($host));
     $this->debugSection('Host', $host);
     $this->amOnPage($page);
 }