Skip to content
Cloud infrastructure/devops

crossbrowsertesting.com

Crossbrowsertesting.com Screenshot Comparisons sandbox and mock API

What's in this version: 1. Compare two screenshots for layout differences 2. Compare a full screenshot test of browsers to a single baseline browser for layout differences. 3. Compare a screenshot test version to another test version - good for regression tests. 4. Get links to the Comparison UI for visual representation of layout differences Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
3
Collections
-
Event types
-
example request
curl https://your-crossbrowsertesting.slurry.io/api/v3/screenshots/123/123/comparison/parallel/123 \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 3.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

All 3.

  • GET/screenshots/{target_screenshot_test_id}/{target_version_id}/comparison/parallel/{base_version_id}
  • GET/screenshots/{target_screenshot_test_id}/{target_version_id}/comparison/{base_result_id}
  • GET/screenshots/{target_screenshot_test_id}/{target_version_id}/{target_result_id}/comparison/{base_result_id}