public function close()
    {
        if (null === $this->sessionId) {
            return;
        }

        $this->client->closeBrowser($this->getSessionId());
        $this->sessionId = null;

        return $this;
    }