/** * Closes the session and disable this session. * * @return Browser fluid interface */ public function close() { if (null === $this->sessionId) { return; } $this->client->closeBrowser($this->getSessionId()); $this->sessionId = null; return $this; }