Get Advice Icon

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

Karma
Karma

492
313
+ 1
175
Selenium
Selenium

4.1K
2.6K
+ 1
444
Add tool

Karma vs Selenium: What are the differences?

Karma: Spectacular Test Runner for JavaScript. Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like; Selenium: Web Browser Automation. Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.

Karma and Selenium can be categorized as "Browser Testing" tools.

"Test Runner" is the primary reason why developers consider Karma over the competitors, whereas "Automates browsers" was stated as the key factor in picking Selenium.

Karma and Selenium are both open source tools. It seems that Selenium with 14.9K GitHub stars and 4.97K forks on GitHub has more adoption than Karma with 10.7K GitHub stars and 1.61K GitHub forks.

According to the StackShare community, Selenium has a broader approval, being mentioned in 776 company stacks & 440 developers stacks; compared to Karma, which is listed in 119 company stacks and 57 developer stacks.

What is Karma?

Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like.

What is Selenium?

Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Get Advice Icon

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

Why do developers choose Karma?
Why do developers choose Selenium?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    Jobs that mention Karma and Selenium as a desired skillset
    What companies use Karma?
    What companies use Selenium?

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

    What tools integrate with Karma?
    What tools integrate with Selenium?

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

    What are some alternatives to Karma and Selenium?
    Jasmine
    Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
    BrowserStack
    Live, Web-Based Browser Testing Instant access to all real mobile and desktop browsers. Say goodbye to your lab of devices and virtual machines.
    LambdaTest
    LambdaTest is a cloud-based testing platform and it provides access to a powerful network cloud of 2000+ real browsers and operating system that helps testers in cross-browser and cross-platform compatibility testing.
    Sauce Labs
    Cloud-based automated testing platform enables developers and QEs to perform functional, JavaScript unit, and manual tests with Selenium or Appium on web and mobile apps. Videos and screenshots for easy debugging. Secure and CI-ready.
    Nightwatchjs
    Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.
    See all alternatives
    Decisions about Karma and Selenium
    Benjamin Poon
    Benjamin Poon
    QA Manager - Engineering at HBC Digital ยท | 8 upvotes ยท 66.9K views
    Nightwatchjs
    Nightwatchjs
    Selenium
    Selenium
    JavaScript
    JavaScript
    Cucumber
    Cucumber
    GitHub
    GitHub
    GoCD
    GoCD
    Docker
    Docker
    ExpressJS
    ExpressJS
    React
    React
    PostgreSQL
    PostgreSQL

    For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

    With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

    See more
    Kevin Roulleau
    Kevin Roulleau
    QA Engineer Freelance at happn ยท | 5 upvotes ยท 19.2K views
    athappnhappn
    WebdriverIO
    WebdriverIO
    Appium
    Appium
    Selenium
    Selenium

    I chose WebdriverIO and Appium to implement a E2E tests solution on a native mobile app. WebdriverIO goes well beyond just implementing the Selenium / Appium protocol and allows to run tests in parallel out of the box. Appium has the big advantage of supporting iOS and Android platforms, so the test codebase and tools are exactly the same, which greatly reduces the learning curve and implementation time.

    See more
    Interest over time
    Reviews of Karma and Selenium
    Review ofSeleniumSelenium

    we at www.cloudqa.io use selenium hub and node architecture to execute our test cases its a very powerful tool to automate web applications.

    How developers use Karma and Selenium
    Avatar of Kang Hyeon Ku
    Kang Hyeon Ku uses SeleniumSelenium

    ๊ฐ€์žฅ ๊ฐ•๋ ฅํ•œ ์›น UI / UX ํ…Œ์ŠคํŠธ ํˆด ์ด์ง€๋งŒ, ๋ฌธ์ œ๋„ ๋งŽ๋‹ค. iframe ์•ˆ์— ์žˆ๋Š” ๊ฑด ์ž˜ select ๊ฐ€ ์•ˆ๋˜๊ธฐ๋„ ํ•˜๊ณ , ํ™”๋ฉด์ด ์ž‘์•„ ์ปดํฌ๋„ŒํŠธ๊ฐ€ ํ™”๋ฉด์— ๋ณด์ด์ง€ ์•Š์œผ๋ฉด ๋˜ select ํ•  ์ˆ˜ ์—†๋‹ค. ํ•˜์ง€๋งŒ ๋ธŒ๋ผ์šฐ์ €๋ฅผ ์žˆ๋Š” ๊ทธ๋Œ€๋กœ ์ œ์–ด ํ•  ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฒŒ ๊ฐ€์žฅ ํฐ ๋งค๋ ฅ์ด๋‹ค.

    ps. selenide ์™€ ๊ฐ™์ด ์“ฐ๋ฉด ์ฝ”๋“œ๊ฐ€ ๋งŽ์ด ๊ฐœ์„ ๋œ๋‹ค.

    Avatar of samdfonseca
    samdfonseca uses SeleniumSelenium

    Maintaining and expanding automated regression tests is one of my primary responsibilities at CrowdTwist. We use Selenium to test the front-end parts of our platform.

    Avatar of Ralic Lo
    Ralic Lo uses SeleniumSelenium

    Used Selenium web-driver for automated QA testing in continuous integration and continuous deployment.

    Avatar of Owen Miller
    Owen Miller uses SeleniumSelenium
    • Navigating our site for tests
    • Navigating other sites that discriminate against non-human visitors
    Avatar of Ataccama
    Ataccama uses SeleniumSelenium

    Selenium is a great way to automatically test if a build is sane and can be deployed.

    Avatar of Riderman De Sousa Barbosa
    Riderman De Sousa Barbosa uses KarmaKarma

    All services, directives and controllers from angular are tested using Karma.

    Avatar of Ron Apelbaum
    Ron Apelbaum uses KarmaKarma

    I use Karma as a test runner for javascript unit tests

    Avatar of Giovanni Candido da Silva
    Giovanni Candido da Silva uses KarmaKarma

    Run unit and integration tests on real browsers

    Avatar of Glib Ischenko
    Glib Ischenko uses KarmaKarma

    Running Unit tests for Angular UI

    Avatar of Typeform
    Typeform uses KarmaKarma

    Testing frontend of admin part

    How much does Karma cost?
    How much does Selenium cost?
    Pricing unavailable
    Pricing unavailable
    News about Karma
    More news