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(); } }
/** * 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(); }