diff --git a/proxy.go b/proxy.go index 99250c0..f76b81b 100644 --- a/proxy.go +++ b/proxy.go @@ -117,7 +117,7 @@ func (h *Host) session(ctx context.Context, header http.Header, c caps) (map[str return nil, seleniumError } fragments := strings.Split(l.Path, "/") - return map[string]interface{}{"sessionId": fragments[len(fragments)-1], "status": 0}, browserStarted + return map[string]interface{}{"sessionId": fragments[len(fragments)-1], "status": 0, "value": struct{}{}}, browserStarted } var reply map[string]interface{} err = json.NewDecoder(resp.Body).Decode(&reply)