The CrossBrowserTesting.com API allows you to implement our browser testing services within your own web and desktop applications via HTTP, enabling you to customize your website-testing process and workflow.
The current API version is 3.0 for both Automated Screenshot Tests and Live Tests.
The version of the API is specified in the URL structure like so:
What can be done with API?
- Run Live Tests: Take Snapshots, Record Videos, Record Network Packet Captures, and more
- Retrieve Live Test results
- Selenium Tests: Take Snapshots, Record Videos, Record Network Packet Captures, and more
- Retrieve Selenium Test results
- Run Automated Screenshot Tests: Repeat full tests, Retake a single screenshot
- Retrieve Screenshot Test results
- Get Screenshot Comparison results
- API Documentation Version 3.0 - Live Tests
- API Documentation Version 3.0 - Selenium Tests
- API Documentation Version 3.0 - Screenshots
- API Documentation Version 3.0 - Screenshot Comparisons
- API Documentation Version 2.0 - Screenshots (Deprecated - Will be disabled Dec 10, 2015!))
Users must authenticate via Basic Authentication for every API request using their login credentials. Beggining with API version 3.0, users can use their
authkey instead of their password.
Authentication can be achieved by passing the credentials in the URL, like:
Or, using a language implementation, like Linux "curl":
curl --user username:authkey http://crossbrowsertesting.com/api/v3/livetests