public function getAll()
    {
        $command = $this->driver->factoryCommand('cookie', WebDriver_Command::METHOD_GET);
        $all = $this->driver->curl($command)['value'];
        $result = [];
        foreach ($all as $value) {
            $result[$value['value']] = new WebDriver_Object_Cookie_CookieInfo($value);
        }
        return $result;
    }