# Recaptcha v2

## TIPO DE CAPTCHA

{% tabs %}
{% tab title="RECAPTCHA V2" %}
É o Captcha que se faz necessário clicar nas imagens.

<figure><img src="/files/yuXFeFB2KAtpoxlEJgGB" alt=""><figcaption><p>Tipo de Captcha RECAPTCHA V2</p></figcaption></figure>
{% endtab %}
{% endtabs %}

## EXEMPLO

**Abrir navegador para consultar CNPJ de uma página com proteção Recaptcha V2.**

<details>

<summary>ITENS UTILIZADOS NO ROBÔ</summary>

* **Objetos:** [Abrir Navegador](/studio/geral/objetos/internet/navegacao-padrao/abrir-navegador.md) - [Buscar Elementos](/studio/geral/objetos/internet/navegacao-padrao/buscar-elementos.md) - [Resolver Captcha](/studio/geral/objetos/internet/navegacao-padrao/resolver-captcha.md) - [Aguardar](/studio/geral/objetos/acoes-globais/aguardar.md) - [Fechar Navegador](/studio/geral/objetos/internet/navegacao-padrao/fechar-navegador.md)
* **Site:** <https://app.sefa.pa.gov.br/sintegra/>
* **CNPJ:** 04134300000114
* **Xpath:** \
  1\. Campo Preencher \
  2\. Botão Pesquisar

</details>

<figure><img src="/files/jmCAyXTnDs31Q7LiHobw" alt=""><figcaption><p>Configuração Robô Exemplo Recaptcha V2</p></figcaption></figure>

**PASSO 1:** Configurar Abrir Navegador.

<figure><img src="/files/1NC8DciAcoYdchJdmMFE" alt=""><figcaption><p>Configuração Abrir Navegador</p></figcaption></figure>

**PASSO 2:** Configurar Buscar Elemento Ação Digitar CNPJ.

<figure><img src="/files/82q0Nxm2qMgpW7kn7RCV" alt=""><figcaption><p>Configuração Buscar Elementos Ação Digitar</p></figcaption></figure>

**PASSO 3:** Configurar Resolver Captcha.

<figure><img src="/files/vW4l4hRR3Uvd7oe6fwCe" alt=""><figcaption><p>Configuração Recaptcha V2</p></figcaption></figure>

{% hint style="info" %}
Em alguns casos pode ser necessária a injeção de uma Callback para a resolução do captcha. Essa Callback pode ser inserida manualmente ou pode ser selecionada a opção "Injetar token do callback pronto" que irá utilizar uma callback padrão para a resolução do captcha.
{% endhint %}

**PASSO 4:** Configurar Buscar Elementos Ação Clicar.

<figure><img src="/files/0vxNjY8wraZoNFc0I6SC" alt=""><figcaption><p>Configuração Buscar Elemento Ação Clicar</p></figcaption></figure>

**PASSO 5:** Executar o robô e verificar as ações.

<figure><img src="/files/N7USRjHI1tiRurQfb5Zr" alt=""><figcaption><p>Execução Sucesso Robô Exemplo Recaptcha V2</p></figcaption></figure>

{% hint style="info" %}
A resolução do Captcha demora alguns segundos, devido ao acesso com o provedor.
{% endhint %}

## Baixar o Robô

{% file src="/files/3egSsjIsiBrP6QAimeEj" %}


---

# Agent Instructions: 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://docs.roboteasy.tech/studio/geral/objetos/internet/navegacao-padrao/resolver-captcha/recaptcha-v2.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.
