Need advice about which tool to choose?Ask the StackShare community!

BrowserStack

2.7K
2K
+ 1
498
Cypress

2.3K
2K
+ 1
114
Add tool

BrowserStack vs Cypress: What are the differences?

Key differences between BrowserStack and Cypress

BrowserStack and Cypress are both popular testing tools for web applications, but they have some key differences. Here are six specific differences between them:

  1. Installation and setup: BrowserStack requires setting up a separate account and integrating with your testing framework, while Cypress can be installed as an npm package with minimal setup.

  2. Architecture: BrowserStack executes tests in parallel on real devices or emulators, simulating real user behavior. On the other hand, Cypress runs tests directly in the browser and can access the DOM and underlying network.

  3. Supported browsers: BrowserStack provides a wide range of browser and device configurations for testing, including different versions and platforms. Cypress, on the other hand, only supports Chromium-based browsers.

  4. Testing capabilities: BrowserStack supports cross-browser and cross-platform testing, allowing you to test on different browsers, devices, and operating systems. Cypress focuses more on end-to-end testing and provides features like time-travel debugging and automatic waiting.

  5. Pricing and licensing: BrowserStack offers different pricing plans based on usage and requires a paid license for its full range of features. Cypress, on the other hand, is open-source and free to use, making it more cost-effective for smaller projects or individual developers.

  6. Community and support: BrowserStack has a larger user community and offers dedicated support through various channels. Cypress also has a growing community but may not have the same level of support as BrowserStack.

In summary, BrowserStack offers a broader range of testing capabilities and device configurations, but requires additional setup and has a cost associated with it. Cypress, on the other hand, is easier to set up, focused on end-to-end testing, and is free to use.

Advice on BrowserStack and Cypress

I am looking to purchase one of these tools for Mobile testing for my team. It should support Native, hybrid, and responsive app testing. It should also feature debugging, parallel execution, automation testing/easy integration with automation testing tools like Selenium, and the capability to provide availability of devices specifically for us to use at any time with good speed of performing all these activities.

I have already used Perfecto mobile, and Sauce Labs in my other projects before. I want to know how different or better is AWS Device farm in usage and how advantageous it would be for us to use it over other mentioned tools

See more
Replies (3)
Aaron Evans
Testing Strategist at One Shore · | 3 upvotes · 6.9K views

A SaaS offering like Sauce Labs (or BrowserStack or LambdaTest, etc) will provide a remote Selenium/Appium Grid including the ability to run test automation in parallel (up to the amount based your subscription level) an a wide array of browsers and mobile devices.

These tools can be expensive, but if you can afford them, the expertise and effort of maintaining the grid, browser updates, etc. is worth it.

AWS Device Farm can be significantly cheaper, but is much more work to setup and run. It will not give you as many devices, or the reporting and screen/video capture you get with the the services. And there is no support for AWS Device Farm, and very poor documentation. I have used it, but do not recommend it. Running your own grid and physical device lab is better, but I'd stick with a service like Sauce Labs or Perfecto which will save you time and give you better services despite the higher price tag.

See more
Recommends
on
BrowserStackBrowserStack

Stability - Just works. Availability - More than 15 datacenters. Enterprise features like SSO, local testing and SOC2/GDPR compliant.

See more
Jaymie Falconi
Recommends
on
BitBarBitBar

BitBar's Dedicated Devices would be a great option for you. It allows you to dedicate (reserve) devices for your use only which also having access to all of the devices in the shared cloud. BitBar has the features and integrations that you are looking for as well.

See more
Yildiz Dila
testmanager/automation tester at medicalservice · | 5 upvotes · 259.9K views
Needs advice
on
CypressCypress
and
ProtractorProtractor

In the company I will be building test automation framework and my new company develops apps mainly using AngularJS/TypeScript. I was planning to build Protractor-Jasmine framework but a friend of mine told me about Cypress and heard that its users are very satisfied with it. I am trying to understand the capabilities of Cypress and as the final goal to differentiate these two tools. Can anyone advice me on this in a nutshell pls...

See more
Replies (2)
Kevin Emery
QE Systems Engineer at Discovery, Inc. · | 4 upvotes · 158.9K views
Recommends
on
CypressCypressProtractorProtractor

I've used both Protractor and Cypress extensively. Cypress is the easier and more reliable tool, whereas Protractor is the more powerful tool. Your choice of tool should depend on your specific testing needs. Here are some advantages and disadvantages of each tool:

Cypress advantages:

  • Faster

  • More reliable (tends to throw fewer intermittent false failures)

  • Easier to read code (handles promises gracefully)

Cypress disadvantages:

  • Cannot switch between browser tabs

  • Cannot switch to iFrames

  • Cannot specify clicks or keypresses explicitly as if a real user was interacting

  • Cannot move the mouse to specific co-ordinates

  • Sometimes has trouble switching between different top-level domains, so not good for testing external links

  • Cypress is a newer tool with less extensive documentation and less community support

Protractor advantages:

  • More powerful because it is Selenium-based - it can switch between tabs, it can handle external links to other domains, it can handle iFrames, simulate keypresses and clicks, and move the mouse to specific co-ordinates within the browser.

  • More extensive community support and documentation

Protractor disadvantages:

  • Slower and more brittle - in general there is a higher likelihood of cryptic and/or intermittent errors which may cause your tests to fail even though there is nothing wrong with your application

  • For highly experienced automation engineers, the fundamental "brittle" nature of Selenium can be worked around - it can be reliable but only if you really know what you are doing

  • Less graceful handling of promises - relies on async/await or .then to manage the order of execution. Therefore it is a bit harder to read the code.

  • Harder to set up, and the method of setup impacts its reliability. For example, a hub/node configuration where the selenium jar is on a different physical machine than the browser under test will cause unreliability in your tests. Not everyone knows about this type of thing, so it's common to find Selenium frameworks that are set up poorly.

It's probably better to use Cypress if

  • you're at a smaller company and have a close relationship with developers who can help write hooks or stubs in their code to assist your testing

  • you don't need to do things like switch between tabs or test links to external top-level domains

It's probably better to use Protractor if

  • You might need to switch between tabs or test external links to other domains within the scope of your framework

  • You want to use a more accurate simulation of how a real user interacts with a browser (i.e. click at this location, type these keys)

  • You're at a company where you won't have any support from developers in writing hooks or stubs to make their code more testable in a less powerful framework like Cypress

See more
Jian Wang
Web Engineer at sentaca · | 1 upvotes · 187.8K views
Recommends

Please try Handow, the e2e tool basing on Puppeteer.

Gherkin syntax compatible

Chrome/Chromium orentied, driven by Puppeteer engine

Complete JavaScript programming

Create test suites rapidly without coding (or a little bit), basing on built-in steps library

Schedule test with plans and arrange stories with sequential stages

Fast running, execute story groups in parallel by multi-workers

Built-in single page report render

Cover page view, REST API and cookies test

https://github.com/newlifewj/handow

http://demo.shm.handow.org/reports

See more
Decisions about BrowserStack and Cypress
Shared insights
on
CypressCypressJestJest

As we all know testing is an important part of any application. To assist with our testing we are going to use both Cypress and Jest. We feel these tools complement each other and will help us get good coverage of our code. We will use Cypress for our end to end testing as we've found it quite user friendly. Jest will be used for our unit tests because we've seen how many larger companies use it with great success.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of BrowserStack
Pros of Cypress
  • 134
    Multiple browsers
  • 75
    Ease of use
  • 63
    Real browsers
  • 43
    Ability to use it locally
  • 26
    Good price
  • 20
    Great web interface
  • 18
    IE support
  • 16
    Official mobile emulators
  • 14
    Instant access
  • 14
    Cloud-based access
  • 11
    Real mobile devices
  • 7
    Selenium compatible
  • 7
    Screenshots
  • 7
    Multiple Desktop OS
  • 6
    Can be used for Testing and E2E
  • 5
    Pre-installed developer tools
  • 4
    Video of test runs
  • 3
    Webdriver compatible
  • 3
    Many browsers
  • 3
    Supports Manual, Functional and Visual Diff Testing
  • 3
    Favourites
  • 2
    Cypress Compatible
  • 2
    Test automation dashboard
  • 2
    Unify and track test cases
  • 2
    Free for Open Source
  • 2
    Test Management
  • 2
    Cross-browser testing
  • 2
    Bi-directional Jira Sync
  • 1
    Speed is fast
  • 1
    Real devices
  • 0
    Web accessibility
  • 0
    Test WCAG Compliance
  • 0
    Visual testing and review
  • 29
    Open source
  • 22
    Great documentation
  • 20
    Simple usage
  • 18
    Fast
  • 10
    Cross Browser testing
  • 9
    Easy us with CI
  • 5
    Npm install cypress only
  • 1
    Good for beginner automation engineers

Sign up to add or upvote prosMake informed product decisions

Cons of BrowserStack
Cons of Cypress
  • 2
    Very limited choice of minor versions
  • 21
    Cypress is weak at cross-browser testing
  • 14
    Switch tabs : Cypress can'nt support
  • 12
    No iFrame support
  • 9
    No page object support
  • 9
    No multiple domain support
  • 8
    No file upload support
  • 8
    No support for multiple tab control
  • 8
    No xPath support
  • 7
    No support for Safari
  • 7
    Cypress doesn't support native app
  • 7
    Re-run failed tests retries not supported yet
  • 7
    No support for multiple browser control
  • 5
    $20/user/thread for reports
  • 4
    Adobe
  • 4
    Using a non-standard automation protocol
  • 4
    Not freeware
  • 3
    No 'WD wire protocol' support

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is BrowserStack?

BrowserStack is the leading test platform built for developers & QAs to expand test coverage, scale & optimize testing with cross-browser, real device cloud, accessibility, visual testing, test management, and test observability.

What is Cypress?

Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.

Need advice about which tool to choose?Ask the StackShare community!

What companies use BrowserStack?
What companies use Cypress?
See which teams inside your own company are using BrowserStack or Cypress.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with BrowserStack?
What tools integrate with Cypress?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to BrowserStack and Cypress?
Browserling
We run the browsers on our servers. Fully interactive sessions, not static screenshots. No flash, no applets, nothing to install. Powered entirely by <canvas> and javascript.
LambdaTest
LambdaTest platform provides secure, scalable and insightful test orchestration for website, and mobile app testing. Customers at different points in their DevOps lifecycle can leverage Automation and/or Manual testing on LambdaTest.
Ghost Inspector
It lets you create and manage UI tests that check specific functionality in your website or application. We execute these automated browser tests continuously from the cloud and alert you if anything breaks.
AWS Device Farm
Run tests across a large selection of physical devices in parallel from various manufacturers with varying hardware, OS versions and form factors.
Appium
Appium is an open source test automation framework for use with native, hybrid, and mobile web apps. It drives iOS and Android apps using the WebDriver protocol. Appium is sponsored by Sauce Labs and a thriving community of open source developers.
See all alternatives