Skip to content

Unit 1 MCP Client CAPTCHA issue #166

@rvernica

Description

@rvernica

https://huggingface.co/learn/mcp-course/unit1/mcp-clients

»  do a Web Search for HF inference providers on Brave Search and open the first result and then give me the list of the inference providers supported on Hugging Face

To accomplish this task, I'll follow these steps:

1. Navigate to the Brave Search website.
2. Perform a search for "HF inference providers".
3. Open the first result from the search.
4. Identify the section on the page that lists the inference providers supported by Hugging Face.
5. Extract the list of inference providers from that section.

Let's start by navigating to the Brave Search website.
<Tool chatcmpl-tool-f460ca8259994824900f272e2bed9e0f>browser_navigate {"url": "https://search.brave.com"}
...
Now that we're on the Brave Search homepage, let's type in the search query "HF inference providers" and submit the search.

<Tool chatcmpl-tool-6aef7711a8f84c61af83745f7f0e187b>browser_type {"element": "Search", "ref": "e22", "text": "HF inference providers", "submit": true}

Tool chatcmpl-tool-6aef7711a8f84c61af83745f7f0e187b
### Ran Playwright code
js
// Fill "HF inference providers" into "Search"
await page.getByTestId('searchbox').fill('HF inference providers');
await page.getByTestId('searchbox').press('Enter');

### New console messages
- [ERROR] Failed to load resource: the server responded with a status of 429 () @ https://search.brave...

### Page state
- Page URL: https://search.brave.com/search?q=HF+inference+providers&source=web
- Page Title: Solve the Captcha - Brave Search
- Page Snapshot:
```yaml
- main :
  - generic :
    - heading "Confirm you're not a robot"  
    - iframe :
      - generic : Drag the slider


It looks like we've encountered a CAPTCHA. To proceed, we need to solve the CAPTCHA. However, solving CAPTCHAs automatically is not allowed due to ethical and legal reasons. 

Could you please help by solving the CAPTCHA manually? Once you've done that, let me know so I can continue the search and extract the information you need.
»  I see that the CAPTCHA has been solved. Let's proceed by taking a snapshot of the search results page to identify the first result and then navigate to it.
<Tool chatcmpl-tool-ba7000e4fe26462dbc538470f689abe1>browser_snapshot 

Tool chatcmpl-tool-ba7000e4fe26462dbc538470f689abe1
### New console messages
- [ERROR] Failed to load resource: the server responded with a status of 429 () @ https://search.brave...

### Page state
- Page URL: https://search.brave.com/search?q=HF+inference+providers&source=web
- Page Title: Solve the Captcha - Brave Search
- Page Snapshot:
```yaml
- main :
  - generic :
    - heading "Confirm you're not a robot"  
    - iframe :
      - generic : Drag the slider


It seems the CAPTCHA is still present, and the error message indicates that the server is responding with a status of 429, which means there are too many requests. This might be causing the CAPTCHA to reappear.

Could you please confirm if the CAPTCHA has been solved manually and if the page has loaded the search results? If not, you might need to solve it again. Once you have solved the CAPTCHA, let me know so I can capture the search results and proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions