How to Create Before-and-After Comparisons with Copilot
Create visual diff comparisons in your IDE with Copilot and ToolRouter. Document UI changes.
ToolWeb ScreenshotCopilot integrates before-and-after capture into your PR workflow from the IDE. Capture affected pages before submitting changes, then again after merging, and Copilot helps automate this as a standard part of your visual review process. Include comparison screenshots in every PR that touches UI code.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Web Screenshot tool:
- Before your PR: "Capture screenshots of the affected pages"
- Implement your changes
- After changes: "Capture again and compare with the before versions"
- Include the comparison in your PR description
Example Prompt
Try this with Copilot using the Web Screenshot tool
Capture our checkout page before and after my CSS refactor. Include the comparison in the PR.
Tips
- Copilot can automate before-and-after captures as part of your PR workflow
- Include visual comparisons in every PR that touches UI code
- Build visual approval workflows into your design system process