Ejemplo n.º 1
0
 /**
  * @see Behat\Mink\Driver\DriverInterface::click()
  */
 public function click($xpath)
 {
     $this->browser->click(SeleniumLocator::xpath($xpath));
     $readyState = $this->browser->getEval('window.document.readyState');
     if ($readyState == 'loading' || $readyState == 'interactive') {
         $this->browser->waitForPageToLoad($this->timeout);
     }
 }