/** * {@inheritdoc} */ public function stop() { if ($this->started) { $this->browser->stop(); } $this->started = false; }