{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "ying-kai-liao-jev-browser--check-a-page-at-phone-width",
 "repo": "Ying-Kai-Liao/jev-browser",
 "repo_url": "https://github.com/Ying-Kai-Liao/jev-browser",
 "repo_slug": "ying-kai-liao-jev-browser",
 "title": "Check a page layout at phone width",
 "page_title": "How to check a page layout at phone width with Jev Browser",
 "summary": "Resize the browser to a phone size, open a page, and capture what it looks like.",
 "who": "A web developer or designer who needs to see how a page looks on a small screen without a device.",
 "problem": "Checking a responsive layout by hand means resizing windows and taking screenshots one at a time.",
 "outcome": "A PNG screenshot of the page at the phone size, plus a snapshot of the elements visible at that size.",
 "steps": [
  "Run `npx playwright install chromium` once.",
  "Run `claude mcp add jev-browser -e TYPESAFE_API_KEY=your-key -- npx -y -p jev-browser jev-browser-mcp` and replace your-key with your key.",
  "Ask Claude to call browser_open with the URL and viewport \"390x844\".",
  "Ask Claude to call browser_screenshot and then browser_snapshot to list the visible elements.",
  "Review the screenshot for layout problems."
 ],
 "agent_prompt": "Use the jev-browser MCP server to call browser_open on <url> with viewport \"390x844\", then call browser_screenshot. Return the PNG and a short list of layout problems. Verify that the screenshot shows the phone-sized layout before you report it.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README says the viewport size sticks for later calls, so you must reset it with another browser_open if you go back to a desktop check.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js and npm",
  "A TypeSafe API key, or an OpenRouter API key",
  "Claude Code for the MCP route, or a source checkout of the repo for the read example"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ying-kai-liao-jev-browser/check-a-page-at-phone-width/",
 "md": "https://dedupedai.com/use-cases/ying-kai-liao-jev-browser/check-a-page-at-phone-width/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ying-kai-liao-jev-browser--check-a-page-at-phone-width.json",
 "api_version": "v1"
}
