JavaScript testing in the cloud*
Instantly test JavaScript across 2000+ browsers and mobile devices.
Documentation
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 cloud. To view the entire list of supported browsers and OSes for JavaScript Testing.
Version | Features |
---|---|
4.0 |
Added: |
3.0 |
Added: |
2.0 |
Added: |
1.0 |
Automated JS testing for browsers running on Windows. |
Language bindings
Language | Description |
---|---|
Node.js |
A node.js JavaScript client for working with the BrowserStack API. |
Ruby |
A ruby gem for working with the BrowserStack API |
.NET |
A 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
Framework | Description |
---|---|
Yeti |
Yeti is a command-line tool for launching JavaScript unit tests in a browser and reporting the results without leaving your
command-line interface. Yeti is designed to work with tests built on YUI Test, QUnit, Mocha or Jasmine just
as they are. |
TestSwarm |
TestSwarm 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. |
BrowserStack runner
|
A Node.js command line interface to run JS tests over BrowserStack infrastructure. |
browserstack-cli |
A command line interface for using the BrowserStack API. |
TestEm |
A wrapper around BrowserStack's JavaScript API primarily used for JavaScript Unit Testing and Continuous Integration. Allows you to run parallel tests and test your web applications across the various browsers hosted on BrowserStack. For more information, please read: |
Karma BrowserStack launcher |
A Karma plugin, which allows you to launch any browser on BrowserStack and run Karma tests. For more information on Karma, please refer to: Karma homepage. Code sample. Step by step guide |
se-runner |
SeRunner allows you to configure multiple browsers to run your tests against. It also allows you to inject the Selenium WebDriver into each test suite giving you the ability to control the browser from within the tests. |
Local Testing
You can test private servers by configuring a Local Testing connection using the BrowserStack binaries. Read more about setting up Local Testing on our documentation.
Dashboard
You can view your JavaScript testing sessions by visiting the BrowserStack Automate dashboard, which also contains session overview and logs. For more details you can refer to the usage documentation.