Selenium vs Webpack

Get Advice Icon

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

Selenium
Selenium

4K
2.6K
+ 1
444
Webpack
Webpack

11.2K
7.4K
+ 1
740
Add tool

Selenium vs Webpack: What are the differences?

What is 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.

What is Webpack? A bundler for javascript and friends. A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Selenium can be classified as a tool in the "Browser Testing" category, while Webpack is grouped under "JS Build Tools / JS Task Runners".

"Automates browsers", "Testing" and "Essential tool for running test automation" are the key factors why developers consider Selenium; whereas "Most powerful bundler", "Built-in dev server with livereload" and "Can handle all types of assets" are the primary reasons why Webpack is favored.

Selenium and Webpack are both open source tools. Webpack with 49.5K GitHub stars and 6.22K forks on GitHub appears to be more popular than Selenium with 14.7K GitHub stars and 4.92K GitHub forks.

According to the StackShare community, Webpack has a broader approval, being mentioned in 2181 company stacks & 1297 developers stacks; compared to Selenium, which is listed in 770 company stacks and 425 developer stacks.

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.

What is Webpack?

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Get Advice Icon

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

Why do developers choose Selenium?
Why do developers choose Webpack?

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

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

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

    What tools integrate with Selenium?
    What tools integrate with Webpack?

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

    What are some alternatives to Selenium and Webpack?
    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.
    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.
    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.
    Puppeteer
    Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
    Cucumber
    Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
    See all alternatives
    Decisions about Selenium and Webpack
    Webpack
    Webpack
    gulp
    gulp
    jQuery
    jQuery
    JavaScript
    JavaScript

    I use JavaScript these days and for few years I didn't have to use jQuery at all. I used to use it back in the days when IE8 and similar was a thing. But due to better browser support of native functions for DOM manipulation I could move to vanilla JavaScript. Most of the time, that's all I need to work with modals/accordions and similar. But I'm not saying that jQuery is bad. It was, and still is a great tool. Some of it's features are available in all browsers nowadays so it is not so important as it used to be. But jQuery has still advantage for example in it's selector engine, some DOM selections which are easy in jQuery are a bit more difficult in vanilla JS (you have to create some helper functions or use some 3rd party library to help you with that), but to be honest I needed this on very few occasions. So it really depends on your project (supported browses, plain JS or some bundling - gulp, Webpack, whether you plan to use modules etc.). Hope this helps.

    See more
    Gustavo Muñoz
    Gustavo Muñoz
    Web UI Developer at Globant · | 4 upvotes · 16.9K views
    Parcel
    Parcel
    gulp
    gulp
    Grunt
    Grunt
    Webpack
    Webpack
    #Merge
    #WebPackDevServer

    Using Webpack is one of the best decision ever. I have used to Grunt and gulp previously, but the experience is not the same, and despite I know there are other bundlers like Parcel, Webpack gives me the perfect balance between automatization and configuration. The ecosystem of tools and loaders is amazing, and with WebPack #merge, you can modularize your build and define standard pieces to assemble different build configurations. I don't like processes where you cannot see their guts, and you have to trust in magic a little bit too much for my taste. But also I don't want to reinvent the wheel and lose too much time configuring my build processes. And of course, I love #WebPackDevServer and hot reloading.

    See more
    Benjamin Poon
    Benjamin Poon
    QA Manager - Engineering at HBC Digital · | 7 upvotes · 51.2K 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 · 14.8K 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
    Interest over time
    Reviews of Selenium and Webpack
    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 Selenium and Webpack
    Avatar of Volkan Özçelik
    Volkan Özçelik uses WebpackWebpack

    Webpack is the best bundler. Period.

    Yes, it has a(n arguably) messy documentation, and a steep learning curve; but once you get the hang of it, there is nothing you cannot do with it.

    Use it and you don’t have to use any other bundler at all.

    It has a vivid ecosystem, and great plugin support.

    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 Alec Cunningham
    Alec Cunningham uses WebpackWebpack

    My preferred build tool; allows me to bundle my JSX, JS, CSS files for easy access and I can pass the bundle through my node server for server side rendering.

    Avatar of Kent Steiner
    Kent Steiner uses WebpackWebpack

    Flexible building and compiling of source for browser consumption, mainly for JS, but experimenting a little with CSS (although I prefer StylusJS for CSS).

    Avatar of Andrew Gatenby
    Andrew Gatenby uses WebpackWebpack

    We use this to optimise the delivery of the client-side for our revised Admin System, so it's able to be delivered to browsers as efficiently as possible.

    Avatar of Cameron Drake
    Cameron Drake uses WebpackWebpack

    Webpack compiles files to bundles with source maps. Using Webpack you can use the latest features (ES6) and have it compiled to compliant js.

    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 Selenium cost?
    How much does Webpack cost?
    Pricing unavailable
    Pricing unavailable