> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/headless-browser/troubleshooting-guide.md).

# 故障排除指南

如果您遇到意外行为或较低的成功率，请先尝试以下初步步骤。

### **了解我们的 CAPTCHA 解决流程**

通过查看我们的文档，了解我们如何处理 CAPTCHA [处理 CAPTCHA 事件](/products/cn/headless-browser/features/handling-captcha-events.md) 流程。这可以帮助判断 CAPTCHA 挑战是否是问题的来源。&#x20;

### **尝试替代浏览器端点**

某些目标网站在特定浏览器引擎下表现更好。如果您使用的是 Chrome 端点，可以考虑切换到 Firefox 端点，反之亦然：\
Chrome 端点： `wss://ubc.oxylabs.io`\
Firefox 端点： `wss://ubs.oxylabs.io`

### **使用国家参数**

在请求中指定国家参数可以显著提高成功率。这可确保您的请求通过来自特定地理位置的 IP 进行路由，过滤掉来自随机或可能不太可靠位置的 IP。

您可以通过在连接 URL 中添加 `?p_cc`  参数，为浏览器会话指定国家。更多信息请参见 [地理位置定向](/products/cn/headless-browser/features/geolocation-targeting.md).

### **使用设备类型参数**&#x20;

尝试使用设备参数可能会带来更高的成功率。您可以通过使用 `?p_device` 参数来自定义浏览器模拟不同设备类型的方式。更多信息请参见 [设备类型](https://developers.oxylabs.io/scraping-solutions/unblocking-browser/chrome#device-type) 部分。请注意，目前仅支持 Chrome 版本。

{% hint style="info" %}
如果在尝试这些步骤后问题仍然存在，请联系您的专属客户经理，并提供问题详情以及您已经采取的步骤。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/cn/headless-browser/troubleshooting-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
