Cypress vs.Selenium WebDriver: Which Is Better for You?


Cypress.io Vs Selenium



A few days back while browsing I just saw an article stating that Cypress.io is a killer for Selenium? I just wonder at the same time I had the curiosity to explore how and why. 

So I decided to explore cypress.io by myself and below are some similarities and differences I found between the two.




Functionality
Selenium
Cypress.io
Programming language supported
C#, Java, Perl, PHP, Python, and Ruby
JavaScript
Browser supported
All
Only Chrome
BDD Support
Yes
No
Locator Strategies
Support all type of locator for a normal web application.
CSS and Xpath
Testing Framework Supported
Junit and TestNG
Mocha and Chai
Support for Parallel/Cross Testing
Yes (Support for multiple class file simultaneously)
No
Support for Cloud Testing
Yes
No
Data Driven support
Yes using excel/json/CSV
No
Reporting
Allure, Extent and all other dashboards can be easily integrated
Only Cypress Native Dashboard
Support for CI and Docker
Yes
Yes

In Nutshell I think cypress.io is still at a very early stage and it will take some time for it to compete with selenium.

Please Note all views expressed in this article are my personal views.



SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
Anonymous
September 24, 2019 at 3:01 PM

Ankur Jain, Here is an update. Cypress do have plugin for BDD implementation named as 'cypress-cucumber-preprocessor'

Reply
avatar
Anonymous
September 24, 2019 at 3:01 PM

Ankur Jain, Here is an update. Cypress do have plugin for BDD implementation named as 'cypress-cucumber-preprocessor'

Reply
avatar
Anonymous
September 24, 2019 at 3:03 PM

Plus Cypress support for data driven test data approach using fixtures here at doc https://docs.cypress.io/api/commands/fixture.html

Reply
avatar
Anonymous
September 24, 2019 at 3:04 PM

Cypress community developed and modern + Smart way for Modern Stack,

Reply
avatar
January 18, 2021 at 12:54 AM

Things have changed a lot now in Cypress and it almost ticks every box in today's time.

Reply
avatar
April 11, 2021 at 1:19 PM

The Collection Marts is platform where you can view latest designs about home dรฉcor and bedding. We have large range in different categories with finest fabric in cotton and silk. You can view not only present trends but also view huge collection with reasonable price. The Collection Marts can provide fast service about delivery as well as customer support too. Our products are not only self-made but also, well connected with markets to ensure for possibility of available designs if client want to purchase. The Collection Marts customer support open 24/7 to guide their customers about material or product stuff. cotton razai for winter , stretchable sofa covers online

Reply
avatar