public function getSessions()
    {
        // our return value
        $sessions = array();

        // get a raw list of the current sessions
        $result = $this->curl('GET', '/sessions');

        // convert the raw list into an array of WebDriverSession objects
        foreach ($result['value'] as $session) {
            $sessions[] = new WebDriverSession($this->url . '/session/' . $session['id']);
        }

        // return the full list of sessions
        return $sessions;
    }