Screenshot & Element Select
Give your AI visual context by capturing screenshots, selecting specific elements, and sharing console output from your preview browser.
Overview
Sometimes code alone isnât enough. When youâre debugging a layout issue, reviewing a UI change, or tracking down a visual bug, Claude needs to see what you see. Blueberry lets you share visual context from the preview browser directly with Claude.
Screenshot Capture
Take a screenshot of your preview browser and share it with Claude for visual analysis.
How It Works
- Make sure your preview browser is open with the page you want to capture
- Ask Claude to take a screenshot, or use the screenshot button in the preview toolbar
- Claude receives the image and can analyze layout, styling, content, and visual bugs
What Claude Can Do With Screenshots
- Visual debugging - Identify layout issues, misaligned elements, or broken styles
- UI review - Compare the current state against your design intent
- Responsive testing - Check how your app looks across device modes (desktop, tablet, phone)
- Error states - See what error pages or empty states actually look like
Tips
- Switch device modes before capturing to test responsive layouts
- Navigate to the specific page or state you want reviewed before asking for a screenshot
- Use screenshots when the visual result matters more than the underlying HTML
Element Picker
Select a specific element from the preview browser to give Claude targeted context about a particular part of your UI.
How to Use
- Click the element picker button (crosshairs icon) in the preview toolbar
- Hover over elements in the preview - they highlight as you move
- Click to select an element
- The element details are captured and available for Claude
What Gets Captured
- Tag name - The HTML element type
- ID and classes - CSS identifiers for the element
- CSS selector - A unique selector path to the element
- Text content - A preview of the elementâs text
- Dimensions - Width and height of the element
When to Use
- Point Claude to a specific button, form, or section that needs work
- Identify which component corresponds to a visual element
- Debug styling on a particular element without describing it manually
Console Log Capture
Share browser console output with Claude for runtime debugging.
Whatâs Captured
Console logs are collected per preview tab and include all log levels:
- log - General output
- warn - Warnings
- error - Errors and exceptions
- info - Informational messages
- debug - Debug output
How It Works
- Logs are captured automatically from your preview browser
- Up to 100 entries are stored per tab
- Logs clear automatically when the page reloads
- Claude can filter by log level and read only errors, for example
Use Cases
- Runtime errors - Ask Claude to check the console for JavaScript errors
- API debugging - See failed network requests or unexpected responses logged to console
- State inspection - Review
console.logoutput from your appâs logic
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Toggle DevTools | Cmd+Option+I |
| Element picker | Click crosshairs icon in toolbar |
| Focus URL bar | Cmd+L |
Tips for Effective Use
- Use content capture for text, screenshots for visuals. If you need Claude to read whatâs on the page,
blueberry_capture_webview_contentis faster and more accurate. Use screenshots when layout and appearance matter. - Combine context types. Ask Claude to check both the screenshot and console logs together for a complete debugging picture.
- Test across devices. Switch to phone or tablet mode in the preview before capturing to verify responsive behavior.
- Clear logs for focused debugging. Have Claude clear the console log buffer, reproduce the issue, then read only the new logs.
Last updated on