The `browserstack-cypress-cli` is a command-line interface (CLI) tool designed by BrowserStack to enable running Cypress end-to-end tests on BrowserStack's cloud infrastructure. This allows developers to execute their Cypress test suites across a wide array of remote browsers and operating systems, which significantly expands testing coverage beyond local environments. Currently in public beta, the package (latest stable release v1.36.4 as of April 2026) receives frequent updates, often on a weekly or bi-weekly basis, with recent releases focusing on bug fixes, improved logging for Cucumber-Cypress tests, and enhanced dependency management. Its primary differentiator is providing seamless integration with BrowserStack Automate, offering features like parallel test execution, localhost tunneling, and comprehensive test reporting, which are crucial for CI/CD pipelines.
npm install browserstack-cypress-cliNo compatibility data collected yet for this library.
Demonstrates how to install the CLI, initialize the configuration, and execute Cypress tests on BrowserStack's cloud platform.
Review the official BrowserStack Cypress documentation regularly for the latest updates and best practices during the beta phase.
Add a `npm_dependencies` object under `run_settings` in `browserstack.json`, listing all required npm packages and their versions for your Cypress tests. Example: `"npm_dependencies": { "cypress": "13.x.x", "lodash": "^4.17.21" }`.Ensure you are using a recent version of `browserstack-cypress-cli` and Cypress v13+ for optimal logging and feature support. Check the documentation for specific Cypress version compatibility.
Upgrade `browserstack-cypress-cli` to v1.36.2 or newer to resolve conflicts related to `auto_import_dev_dependencies`.
Upgrade `browserstack-cypress-cli` to v1.36.1 or newer to mitigate `https-proxy-agent` library exceptions.
You must explicitly list Cypress (and any other test-specific npm packages) within the `npm_dependencies` object in your `browserstack.json` file.
Upgrade `browserstack-cypress-cli` to v1.36.0 or newer, which includes a fix for 'address already in use' issues during multi-spec executions.
Upgrade `browserstack-cypress-cli` to v1.36.1 or newer, which contains a fix addressing these exceptions.
Verify the `gridName` value in your `browserstack.json` matches the accepted values for Automate TurboScale sessions. A warning log was added in v1.32.8 to help debug this.
Carefully review your `browserstack.json` file, ensuring `username` and `access_key` are correct (preferably using environment variables), and that `browsers` and `run_settings` define valid configurations as per BrowserStack documentation.
No dependency data recorded yet.