> 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/pt-br/agent-browser/device-type.md).

# Tipo de dispositivo

Aprenda a definir os tipos de dispositivo do Oxylabs Agent Browser para uma scraping mais precisa de layouts responsivos e conteúdo específico de dispositivo.

Em vez de definir manualmente viewports, suporte a toque e cabeçalhos User-Agent na configuração da sua biblioteca local (o que pode criar incompatibilidades de fingerprint e disparar timeouts de conexão), o Agent Browser permite que você emule classes específicas de dispositivos nativamente adicionando o `p_device` parâmetro de consulta à sua string de conexão:

```bash
wss://username:password@hb.oxylabs.io?p_device=mobile
```

### Perfis de dispositivo suportados

Você pode configurar o `p_device` parâmetro usando dois perfis de dispositivo suportados:

<table><thead><tr><th width="123">Valor do parâmetro</th><th width="620">Descrição</th></tr></thead><tbody><tr><td><code>desktop</code><br><em>(padrão)</em></td><td>Viewport de tamanho completo, cabeçalhos de plataforma desktop, esquemas padrão de entrada de mouse/teclado e uma string User-Agent de desktop.</td></tr><tr><td><code>mobile</code></td><td>Viewport móvel compacto, APIs de eventos de toque habilitadas, cabeçalhos de plataforma do sistema operacional móvel e um User-Agent móvel.</td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/products/pt-br/agent-browser/device-type.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
