Automated JS Testing*
Instantly test JavaScript across 200+ browsers and mobile devices.
* The Automated Testing API is free for open source projects. View pricing plans for other projects.
Automated JavaScript Testing API is a HTTP-based API that can be used to open any URL, in any combination of browser and OS currently available on BrowserStack, to cross browser test JavaScript files. Run JavaScript tests in any language including testing frameworks like QUnit and Jasmine. Use the BrowserStack API with tools such as Yeti, TestSwarm, JS-test-driver and more, to automate running your JavaScript tests on the BrowserStack platform.
Documentation
-
version 3.0
Latest version of the API.Features Added:
• Support for specific OS version. Eg, Windows XP, 7 or 8 / MacOS Snow Leopard, Lion, Mountain Lion -
Features Added:
• Added support for MacOS and Mobile devices -
version 1.0
(Deprecated)Automated JS testing for browsers running on Windows.
Language bindings
-
Node.js
API Version: 1.0, 2.0A node.js JavaScript client for working with the BrowserStack API. -
Ruby
API Version: 2.0A ruby gem for working with the BrowserStack API -
.NET
API Version: 3.0A wrapper for the Automated Browser Testing API from BrowserStack, allowing you to run up new VMs for testing your web applications from a .NET programming model.
Testing Tools
-
Yeti
Developed by: Reid BurkeYeti is a command-line tool for launching JavaScript unit tests in a browser and reporting the results without leaving your terminal. Yeti is designed to work with tests built on YUI Test, QUnit, Mocha or Jasmine just as they are.
Use BrowserStack with Yeti -
TestSwarm
Developed by: JQuery TeamTestSwarm provides distributed continuous integration testing for JavaScript. The primary goal of TestSwarm is to take the complicated, and time-consuming, process of running JavaScript test suites in multiple browsers and to grossly simplify it. It achieves this goal by providing all the tools necessary for creating a continuous integration workflow for your JavaScript project.
Use BrowserStack with TestSwarm -
BunyIP
Developed by: Ryan SeddonLibrary for client side unit testing built on top of Yeti. For more information, please read:
http://javascriptplayground.com/blog/2012/09/cross-browser-testing-with-bunyip
Use BrowserStack with BunyIP -
browserstack-cli
Developed by: Derek BransA command line interface for using the BrowserStack API. -
TestEm
Developed by: Toby HoA wrapper for the Automated Browser Testing API from BrowserStack, allowing you to run up new VMs for testing your web applications from a .NET programming model. For more information, please read:
Use BrowserStack with TestEm
Local testing
You can test local, internal or private servers by setting up a local tunnel using the BrowserStack command line API.
Pricing plans
The available minutes per month and parallel sessions allowed for automated testing varies depending on the subscription plan selected. Note: API testing time is independent from Live testing time.
The automated testing API is free for use with open source projects.
| Parallel sessions allowed | |||
|---|---|---|---|
| Subscription Plan | Windows | Mac & Mobile | Time (minutes) |
| Free Trial | 2 | 0 | 100 / month |
| Individual - $19 | 2 | 1 | 500 / month |
| Dual - $29 | 4 | 2 | 1000 / month |
| Small team - $49 | 8 | 4 | 2500 / month |
| Team - $79 | 16 | 8 | 5000 / month |
| Corporate - $169 | 24 | 16 | 10000 / month |