Browserstack logo Open Menu Close Menu
  • Products
  • Developers
  • Solutions
  • Pricing
  • Products
      • Test your websites
      • Live
        Interactive cross browser testing
      • Automate
        Selenium testing at scale
      • Test your mobile apps
      • App Live
        Interactive native & hybrid app testing
      • App Automate
        Test automation for native & hybrid mobile apps
      • For Teams
      • Enterprise
      • Tools
      • Screenshots
      • Responsive

      Use BrowserStack with your favourite products. See our Integrations ⟶

  • Developers
    • Documentation
    • Support
    • Status
    • Release Notes
    • Open Source
  • Solutions
    • Functional Testing
    • Regression Testing
    • Real User Condition Testing
    • Geolocation Testing
    • Testing in Local Environments
  • Pricing
  • Sign in
  • Free Trial
  • Products
  • Test your websites
  • Live
    Interactive cross browser testing
  • Automate
    Selenium testing at scale
  • Test your mobile apps
  • App Live
    Interactive native & hybrid app testing
  • App Automate
    Test automation for native & hybrid mobile apps
  • For Teams
  • Enterprise
  • Tools
  • Screenshots
  • Responsive
  • Developers
  • Documentation
  • Support
  • Status
  • Release Notes
  • Open Source
  • Solutions
  • Functional Testing
  • Regression Testing
  • Real User Condition Testing
  • Geolocation testing
  • Testing in local environments
  • Get help
  • Documentation
  • NodeJS
  • Java
  • Python
  • C#
  • Ruby
  • Perl
  • PHP
  • WebdriverIO
  • Protractor
  • Nightwatch
  • JUnit
  • JavaScript testing
  • Test dev environments
  • Jenkins
  • References
  • Selenium Capabilities
  • Browsers & Devices
  • Continuous Integration (CI)
  • REST API
  • Status

Home Documentation Automate JavaScript testing in the cloud

JavaScript testing in the cloud*

Instantly test JavaScript across 2000+ browsers and mobile devices.

Documentation

* The Javascript Testing API is free for open source projects. View Automate 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 cloud. To view the entire list of supported browsers and OSes for JavaScript Testing.

Version Features

4.0
Latest version of the API.

Added:
Moved all API endpoints to HTTPS.

3.0
Retired.

Added:
Support for specific OS versions. Eg: Windows XP, 7 or 8 or Mac OS Snow Leopard, Lion, Mountain Lion, Mavericks, Yosemite.

2.0
Retired.

Added:
Added support for Mac OS and mobile devices.

1.0
Retired.

Automated JS testing for browsers running on Windows.

Language bindings

Language Description

Node.js
API Version: 1.0, 2.0

A node.js JavaScript client for working with the BrowserStack API.

Ruby
API Version: 2.0

A ruby gem for working with the BrowserStack API

.NET
API Version: 3.0

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
Developed by: Reid Burke

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.
Use BrowserStack with Yeti

TestSwarm
Developed by: JQuery Team

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.
Use BrowserStack with TestSwarm

BrowserStack runner
Developed by: BrowserStack

A Node.js command line interface to run JS tests over BrowserStack infrastructure.
Code sample

browserstack-cli
Developed by: Derek Brans

A command line interface for using the BrowserStack API.

TestEm
Developed by: Toby Ho

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:
Use BrowserStack with TestEm

Karma BrowserStack launcher
Developed by: AngularJS

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
Developed by: Daniel Hedenius

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.
Jasmine Adapter for se-runner
Grunt task for se-runner

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.

In This Article

  • Documentation
  • Language bindings
  • Testing tools
  • Local Testing
  • Dashboard

Related Articles

Debugging Tools

Browsers & Devices

Capabilities

Timeouts

REST API

JS Testing

Local Testing

Continuous Integration

Travis CI

TeamCity

Products
  • Live
  • Automate
  • App Live New
  • App Automate New
  • Screenshots
  • Responsive
  • Enterprise
Mobile
  • Test on Right Devices
  • Mobile Features
  • Mobile Emulators
  • Test on iPhone
  • Test on iPad
  • Test on Galaxy
  • Android testing
  • iOS testing
Other Links
  • Customers
  • Open Source
  • Test in IE
  • Careers We're hiring!
  • Support
  • Contact
  • Status
  • Release Notes
  • Company
  • Press
  • Case Studies
  • Sitemap
Knowledge
  • Cross Browser Testing
  • Emulators & Simulators
  • Selenium
  • Android Emulators
  • Responsive Design
  • Guide
  • Blog
Social
Browserstack logo

© 2011-2019 BrowserStack - The Most Reliable Mobile App & Cross Browser Testing Company

  • Terms of Service
  • Privacy Policy
  • Cookie Policy

We use cookies to enhance user experience, analyze site usage, and assist in our marketing efforts. By continuing to browse or closing this banner, you acknowledge that you have read and agree to our Cookie Policy, Privacy Policy and Terms of Service.

Got it