public function get($name)
    {
        $command = $this->driver->factoryCommand('cookie', WebDriver_Command::METHOD_GET);
        $value = $this->driver->curl($command)['value'];
        $search = array_filter(
            $value,
            function ($item) use ($name) {
                return ($item['name'] == $name);
            }
        );
        $search = array_values($search);
        $value = empty($search)?null:$search[0];
        if ($value) {
            $value = new WebDriver_Object_Cookie_CookieInfo($value);
        }
        return $value;
    }