Write visual UI tests using natural language to
- Compare current layouts to previous versions for consistency.
- Validate layout relationships (e.g., "is the right box bigger than the left").
- Check positioning (e.g., "is the menu at the top of the page but below the header").
- Assess text formatting (e.g., "is the text justified").
- Provide insights into UI design to ensure compliance with design specifications.
The system capture screenshots of the current UI state, compares to reference images for layout and styling consistency, identify differences in size, position, color, and text alignment, etc.