Back to docs

Tool Responsive Test

Category: Visual Testing Β· Tier: All

Test page across different viewport sizes

When to Use

Visual testing in CBrowser uses Wasserstein optimal transport theory for robust comparison. Smart baselines compute the barycenter (optimal average) of multiple captures. Transport maps show where visual content moved. Attention analysis models persona-specific saliency.

Parameters

Parameter Type Required Description
url string Yes URL to test
viewports array No Viewport presets (mobile, tablet, desktop, etc.)

Example

Test this page at mobile, tablet, and desktop viewports

Tips

  • Visual testing uses Wasserstein optimal transport for robust comparison
  • Smart baselines handle non-deterministic rendering automatically
  • Transport maps show WHERE content moved, not just that it changed

Research

Related

From the Blog