# Screenshot

> Take a screenshot of a URL or the current page

- Skill: `mozilla/screenshot` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mozilla/screenshot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mozilla/screenshot/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: mozilla (https://skillmd.com/u/mozilla)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mozilla/screenshot

---


# /firefox-devtools-mcp:screenshot

Captures a screenshot of a URL or the current page and shows it to the user.

## Usage

```
/firefox-devtools-mcp:screenshot https://example.com   # Navigate then screenshot
/firefox-devtools-mcp:screenshot                       # Screenshot current page
/firefox-devtools-mcp:screenshot <uid>                 # Screenshot specific element
```

## Steps

1. Navigate if a URL was given: call `navigate_page`.
2. Take the screenshot using the method that matches your environment:

**In Cowork** (system prompt contains an outputs folder host path under "Shell access"):
- Call `screenshot_page saveTo="<host-outputs-path>/screenshot.png"` using the host path from the system prompt, not the container path.
- Load and call `present_files` with that same path so the user receives a clickable file card.

**In Claude.ai chat or Claude Desktop** (no outputs folder in system prompt):
- Call `screenshot_page` without `saveTo`.
- Your final response must include the actual image returned — not a description of it. The user cannot see tool call outputs, only what you include in your reply.

