Roo-Code/webview-ui/webPreview.html
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

12 lines
No EOL
289 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Preview</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/webPreview.tsx"></script>
</body>
</html>