fix: 修复截图错误

This commit is contained in:
余泓铮
2025-07-17 16:49:26 +08:00
parent 5fd7d58b4f
commit d4dff22dd8

View File

@@ -308,6 +308,9 @@ func (s *DriverSession) Request(method string, urlStr string, rawBody []byte, op
}
if err = rawResp.CheckErr(); err != nil {
if resp.StatusCode == http.StatusOK {
return rawResp, nil
}
return nil, err
}