예제 #1
0
 public function stop()
 {
     if (!isset($this->sessionId)) {
         return;
     }
     //endlos-recursion verhinden wenn stop() nicht erfolgreich aufgerufen werden kann
     if (!$this->_stopping) {
         $this->_stopping = true;
         parent::stop();
     }
 }
예제 #2
0
 /**
  * Stops browser connection if the session is not marked as contiguous
  * @return mixed
  */
 public function stop()
 {
     if (!$this->_contiguousSession) {
         return;
     }
     self::$_currentSessionId = null;
     self::$_currentBrowser = null;
     self::$_currentContiguousSession = null;
     self::$_currentTestClassName = null;
     parent::stop();
 }