Crossbrowsertesting.com Screenshot Comparisons 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…
Developer tools#openapi#developer-tools
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
What's in this version:
- Compare two screenshots for layout differences
- Compare a full screenshot test of browsers to a single baseline browser for layout differences.
- Compare a screenshot test version to another test version - good for regression tests.
- Get links to the Comparison UI for visual representation of layout differences
Endpoints 3
- GETCompare Screenshot Test Versions
/screenshots/:target_screenshot_test_id/:target_version_id/comparison/parallel/:base_version_id?format=json&callback=string&tolerance=30Get comparison results for all browsers in target screenshot test against the same browser in the base screenshot test. This is a good method for regression… - GETCompare Full Screenshot Test
/screenshots/:target_screenshot_test_id/:target_version_id/comparison/:base_result_id?format=json&callback=string&tolerance=30Get comparison results for all browsers in target screenshot test against a base screenshot result. The base result can be from the same test or from another… - GETCompare Single Screenshot
/screenshots/:target_screenshot_test_id/:target_version_id/:target_result_id/comparison/:base_result_id?format=json&callback=string&tolerance=30Get comparison results for a single target screenshot result against a base screenshot result. This is a one-to-one comparison.
API details
- Base URL
https://crossbrowsertesting.com/api/v3- Authentication
- HTTP Basic authentication (username and password)
- Operations
- 3 operations on 3 pathsGET 3
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
3.0.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Crossbrowsertesting.com Screenshot Comparisons API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Crossbrowsertesting.com Screenshot Comparisons API collection, without the publisher's secrets.
- Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Compare Screenshot Test Versions” (GET /screenshots/:target_screenshot_test_id/:target_version_id/comparison/parallel/:base_version_id?format=json&callback=string&tolerance=30), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Crossbrowsertesting.com Screenshot Comparisons 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… It is listed under Developer tools and has 3 endpoints.
Who publishes the Crossbrowsertesting.com Screenshot Comparisons API?
It is listed from Crossbrowsertesting's public API description (an OpenAPI document), not published by Crossbrowsertesting on Swastik Codes. Anyone who controls crossbrowsertesting.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Crossbrowsertesting.com Screenshot Comparisons API?
Requests go to https://crossbrowsertesting.com/api/v3. Endpoint paths are added to this base URL.
How do I authenticate with the Crossbrowsertesting.com Screenshot Comparisons API?
With HTTP Basic authentication (username and password).
How many endpoints does the Crossbrowsertesting.com Screenshot Comparisons API have?
3 operations on 3 paths (3 GET).
Is forking the Crossbrowsertesting.com Screenshot Comparisons API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.