# Browserbase Gemini API Evaluation

**Category:** Browser
**Score:** 76 (B)

This is the agent-readable Devtool Arena evaluation page for Browserbase on Gemini API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 76 |
| Grade | B |
| Eval score | 66 |
| Discovery score | 100 |
| Cost | $0.23 |
| Runtime | 7m 27s |
| Tool calls | 21 |
| Errors | 1 |
| Tokens used | 487537 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/websites/browserbase |
| llms.txt | https://docs.browserbase.com/llms.txt |
| MCP server | https://github.com/browserbase/mcp-server-browserbase |
| Typed SDK | https://pypi.org/pypi/browserbase/json |
| OpenAPI | https://docs.browserbase.com/reference/api/openapi.v1.yaml |
| Agent skills | https://github.com/browserbase/skills |
| CLI | https://docs.browserbase.com/cli |

## Evaluation Prompt

````text

# Task
Using https://docs.browserbase.com/reference/introduction, complete the following task:

Using Browserbase, build me a Python script that:

1. Install the Browserbase Python package
2. Open a browser session
3. Navigate to "https://example.com"
4. Extract the page title and the main heading (h1) text
5. Take a screenshot and save as "screenshot.png" (if supported)
6. Close the session
7. Print results as JSON: {"url": "...", "title": "...", "heading_text": "...", "screenshot_saved": true/false}

Use the official Browserbase Python library — not raw HTTP calls. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | Yes | 0 | 0 | $0.23 ($0.20–0.40, good) |
| Time | No | 0 | 0 | 447s (5–10min, very slow) |
| Efficiency | Yes | 0 | 0 | 21 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at docs.browserbase.com: yes (5 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 22 |
| Tool call traces | 21 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-16T00:08:31.333786+00:00 |

### Generated Files

- /home/daytona/app/main.py

## Related Pages

- [Gemini API leaderboard](/leaderboard/gemini/api)
- [Compare Gemini API companies](/leaderboard/gemini/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/gemini/api/browserbase
