Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

crossbrowsertesting/API-Sample-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

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

Live Tests API

Automate live tests by providing a URL and browser/operating system/device configuration. 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

For a list of browsers compatible with the livetesting API, make a GET call https://crossbrowsertesting.com/api/v3/livetests/browsers

Live Test API

Screenshots API

Automate screenshot tests by providing a URL and a list of browser/operating system/device configurations. While running a screenshot test, you can view the results in the screenshots tab in the app.

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

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

About

Sample scripts for getting started with the CrossBrowserTesting API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6