Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crossbrowsertesting/API-Sample-Scripts
Sample scripts for getting started with the CrossBrowserTesting API.
https://github.com/crossbrowsertesting/API-Sample-Scripts
Last synced: 3 days ago
JSON representation
Sample scripts for getting started with the CrossBrowserTesting API.
- Host: GitHub
- URL: https://github.com/crossbrowsertesting/API-Sample-Scripts
- Owner: crossbrowsertesting
- Archived: true
- Created: 2015-07-30T19:21:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T18:45:08.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T23:23:57.975Z (3 months ago)
- Language: Python
- Homepage: https://crossbrowsertesting.com/apidocs
- Size: 23.4 KB
- Stars: 2
- Watchers: 16
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CBT API Sample Scripts
These are sample scripts for using the CrossBrowserTesting API
## Included Script Examples:
- Live Tests: JavaScript, Python, PHP
- Screenshots: JavaScript, Python, PHP
- Comparisons: Python[See full API documentation](https://crossbrowsertesting.com/apidocs)
## Live Tests API
Automate live tests by providing a URL and browser/operating system/device [configuration](https://crossbrowsertesting.com/). While running an automated live test, you can take a screenshot, record network packets, or record a video. Live tests started via the API will appear in the livetesting tab in the [app](https://app.crossbrowsertesting.com)
For a list of browsers compatible with the livetesting API, make a `GET` call `https://crossbrowsertesting.com/api/v3/livetests/browsers`
[Live Test API](https://crossbrowsertesting.com/apidocs/v3/livetests.html)
## Screenshots API
Automate screenshot tests by providing a URL and a list of browser/operating system/device [configurations](https://crossbrowsertesting.com/). While running a screenshot test, you can view the results in the screenshots tab in the [app](https://app.crossbrowsertesting.com).
For a list of configurations compatible with the screenshots API, make a `GET` call to `https://crossbrowsertesting.com/api/v3/screenshots/browsers`
[Screenshot Test API](https://crossbrowsertesting.com/apidocs/v3/screenshots.html)
## Screenshot Comparison API
You can compare 2 screenshots for layout differences using our screenshot layout engine. Check out the API above for more information.
[Screenshot Comparison API](https://crossbrowsertesting.com/apidocs/v3/screenshot-comparisons.html)