Roo-Code/assets/icons/browser_light.svg
Roo Code fd0ed5ae12 feat: add integrated web preview with element selection for AI context
- Implement WebPreviewProvider to manage webview lifecycle
- Create WebPreviewView React component with device simulation
- Add element selection mode with DOM inspection capabilities
- Extract element context (HTML, CSS, XPath, position, styles)
- Integrate with AI prompt system via webviewMessageHandler
- Support responsive design testing with device presets
- Add command registration and context menu integration
- Include comprehensive tests for provider and component
- Update documentation with usage instructions

Fixes #5971
2025-07-20 05:11:29 +00:00

10 lines
No EOL
676 B
XML

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="1" y="3" width="14" height="11" rx="1" stroke="#424242" stroke-width="1.5" fill="none"/>
<line x1="1" y1="6" x2="15" y2="6" stroke="#424242" stroke-width="1.5"/>
<circle cx="3" cy="4.5" r="0.5" fill="#424242"/>
<circle cx="5" cy="4.5" r="0.5" fill="#424242"/>
<circle cx="7" cy="4.5" r="0.5" fill="#424242"/>
<rect x="3" y="8" width="10" height="1" rx="0.5" fill="#424242" opacity="0.5"/>
<rect x="3" y="10" width="7" height="1" rx="0.5" fill="#424242" opacity="0.5"/>
<rect x="3" y="12" width="8" height="1" rx="0.5" fill="#424242" opacity="0.5"/>
</svg>