Get Advice Icon

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

Protractor
Protractor

151
103
+ 1
6
Selenium
Selenium

3.9K
2.5K
+ 1
444
Add tool

Protractor vs Selenium: What are the differences?

Developers describe Protractor as "End-to-end test framework for Angular and AngularJS applications". Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. On the other hand, Selenium is detailed as "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.

Protractor can be classified as a tool in the "Javascript Testing Framework" category, while Selenium is grouped under "Browser Testing".

"Quick tests implementation" is the primary reason why developers consider Protractor over the competitors, whereas "Automates browsers" was stated as the key factor in picking Selenium.

Protractor and Selenium are both open source tools. Selenium with 14.9K GitHub stars and 4.97K forks on GitHub appears to be more popular than Protractor with 8.24K GitHub stars and 2.23K GitHub forks.

MIT, Typeform, and Bukalapak are some of the popular companies that use Selenium, whereas Protractor is used by PeopleKeep, Omaze, and Garlic Tech Ltd. Selenium has a broader approval, being mentioned in 777 company stacks & 443 developers stacks; compared to Protractor, which is listed in 24 company stacks and 22 developer stacks.

What is Protractor?

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

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 Protractor?
Why do developers choose Selenium?

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

    Be the first to leave a con
      Be the first to leave a con
      What companies use Protractor?
      What companies use Selenium?

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

      What tools integrate with Protractor?
      What tools integrate with Selenium?

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

      What are some alternatives to Protractor and Selenium?
      PhantomJS
      PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.
      WebdriverIO
      WebdriverIO lets you control a browser or a mobile application with just a few lines of code. Your test code will look simple, concise and easy to read.
      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.
      Compass
      The compass core framework is a design-agnostic framework that provides common code that would otherwise be duplicated across other frameworks and extensions.
      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.
      See all alternatives
      Decisions about Protractor and Selenium
      Benjamin Poon
      Benjamin Poon
      QA Manager - Engineering at HBC Digital ยท | 7 upvotes ยท 32K views
      PostgreSQL
      PostgreSQL
      React
      React
      ExpressJS
      ExpressJS
      Docker
      Docker
      GoCD
      GoCD
      GitHub
      GitHub
      Cucumber
      Cucumber
      JavaScript
      JavaScript
      Selenium
      Selenium
      Nightwatchjs
      Nightwatchjs

      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 ยท 8.9K views
      athappnhappn
      Selenium
      Selenium
      Appium
      Appium
      WebdriverIO
      WebdriverIO

      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
      Jorge Quiros
      Jorge Quiros
      SR QA Automation Engineer at Indecomm ยท | 8 upvotes ยท 206.2K views
      Cypress
      Cypress
      Selenium
      Selenium
      JavaScript
      JavaScript
      Jasmine
      Jasmine
      Protractor
      Protractor
      #Qaautomation
      #Cypress
      #Testing

      This is a trending topic on Automation testing for E2E web applications.

      I have used Protractor and Jasmine for automation testing frameworks in JavaScript by using the Selenium web driver manager.

      Now, new guy in town Cypress does not use Selenium and runs directly in your app without any json wire protrocol, but it does not support parallel testing or mobile testing.

      Have you experienced both? Should I stick with old and known ?

      #testing cypress #selenium qaautomation #qa

      See more
      Interest over time
      Reviews of Protractor 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 Protractor 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.

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