BrowserGym icon indicating copy to clipboard operation
BrowserGym copied to clipboard

Search GitLab request times error

Open Jayfeather1024 opened this issue 5 months ago • 1 comments

For WebArena tasks, my agent gets stuck when using the Search GitLab search box at the top of the webpage with action like "fill("123", "homepage content")". When I navigated to the GitLab site locally, I found that performing multiple times of searches within a short time period with the Search GitLab triggers an error message: "This endpoint has been requested too many times. Try again later." I’m wondering if there’s a way to limit the request times when doing actions on the website.

Jayfeather1024 avatar Jun 10 '25 22:06 Jayfeather1024

2025-06-09 17:21:44,762 - 3963676 - browsergym.experiments.loop - INFO - Running experiment DemoAgentArgs_on_webarena.177_7 in:
  results_vanilla/2025-06-09_17-21-44_DemoAgentArgs_on_webarena.177_7
2025-06-09 17:21:59,543 - 3963676 - httpx - INFO - HTTP Request: POST http://0.0.0.0:4000/chat/completions "HTTP/1.1 200 OK"
2025-06-09 17:21:59,618 - 3963676 - browsergym.experiments.loop - INFO - action:
Let me think about this step by step:

1. I need to find issues related to "homepage content" in their title
2. Currently I'm on the dashboard page
3. I see an "Issues" link in the navigation menu with bid 153
4. I should click that first to access the issues section

I will click on the Issues link to navigate to the issues page.

```click("153")```

2025-06-09 17:22:10,741 - 3963676 - httpx - INFO - HTTP Request: POST http://0.0.0.0:4000/chat/completions "HTTP/1.1 200 OK"
2025-06-09 17:22:17,997 - 3963676 - httpx - INFO - HTTP Request: POST http://0.0.0.0:4000/chat/completions "HTTP/1.1 200 OK"
2025-06-09 17:22:18,064 - 3963676 - browsergym.experiments.loop - INFO - action:
Let me analyze the situation:

1. My previous attempt to click the Issues link with bid "153" failed with a timeout error
2. Looking at the current page again, I notice I was trying to click the wrong bid
3. The correct Issues link has bid "146" according to the accessibility tree
4. I'm already on the Issues page (URL shows /dashboard/issues)
5. Looking at the list of issues, I need to search for "homepage content" in the titles

I notice there's a search box with bid "123" that I can use to filter the issues.

```fill("123", "homepage content")```

2025-06-09 17:25:23,164 - 3963676 - browsergym.experiments.loop - INFO - Saving summary info.

Jayfeather1024 avatar Jun 10 '25 22:06 Jayfeather1024