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

Marionette

167
128
+ 1
80
Selenium

15.7K
12.3K
+ 1
525
Add tool

Marionette vs Selenium: What are the differences?

<Write Introduction here>

1. **Execution Environment**: Marionette is tightly integrated with the Gecko engine, while Selenium is more versatile and can work with various browsers.
2. **Programming Languages**: Marionette is written in Rust, while Selenium supports multiple languages like Java, Python, C#, etc.
3. **Browser Automation Protocol**: Marionette uses the WebDriver protocol, while Selenium supports both WebDriver and HTTP protocols.
4. **Pages Loading Strategy**: Marionette waits for a page load event to complete before executing a command, whereas Selenium uses a dynamic wait strategy.
5. **Pop-up Handling**: Marionette has built-in mechanisms to handle pop-ups, while Selenium requires additional coding for pop-up handling.
6. **Cross-Browser Compatibility**: Selenium has better cross-browser compatibility compared to Marionette.

In Summary, the key differences between Marionette and Selenium lie in their execution environment, programming languages, browser automation protocol, pages loading strategy, pop-up handling, and cross-browser compatibility. 
Advice on Marionette and Selenium
Needs advice
on
JestJestSeleniumSelenium
and
WebdriverIOWebdriverIO
in

we are having one web application developed in Reacts.js. in the application, we have only 4 to 5 pages that we need to test. I am having experience in selenium with java. Please suggets which tool I should use. and why ............................ ............................ .............................

See more
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 213.9K views
Recommends
on
SeleniumSelenium

with the help of selenium we can automate react js for functional testing

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Marionette
Pros of Selenium
  • 20
    MVC compliant
  • 20
    Uses Backbone
  • 13
    Views management
  • 9
    View management
  • 7
    JavaScript
  • 6
    Memory management
  • 4
    MVC Beginner-Friendly
  • 1
    Collections useful tools
  • 175
    Automates browsers
  • 154
    Testing
  • 101
    Essential tool for running test automation
  • 24
    Record-Playback
  • 24
    Remote Control
  • 8
    Data crawling
  • 7
    Supports end to end testing
  • 6
    Easy set up
  • 6
    Functional testing
  • 4
    The Most flexible monitoring system
  • 3
    End to End Testing
  • 3
    Easy to integrate with build tools
  • 2
    Comparing the performance selenium is faster than jasm
  • 2
    Record and playback
  • 2
    Compatible with Python
  • 2
    Easy to scale
  • 2
    Integration Tests
  • 0
    Integrated into Selenium-Jupiter framework

Sign up to add or upvote prosMake informed product decisions

Cons of Marionette
Cons of Selenium
    Be the first to leave a con
    • 8
      Flaky tests
    • 4
      Slow as needs to make browser (even with no gui)
    • 1
      Update browser drivers

    Sign up to add or upvote consMake informed product decisions

    What is Marionette?

    It is a JavaScript library with a RESTful JSON interface and is based on the Model–view–presenter application design paradigm. Backbone is known for being lightweight, as its only hard dependency is on one JavaScript library, Underscore.js, plus jQuery for use of the full library.

    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.

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

    Jobs that mention Marionette and Selenium as a desired skillset
    What companies use Marionette?
    What companies use Selenium?
    See which teams inside your own company are using Marionette or Selenium.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Marionette?
    What tools integrate with Selenium?

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

    Blog Posts

    What are some alternatives to Marionette and Selenium?
    AngularJS
    AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
    Puppet Labs
    Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
    Backbone.js
    Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    Grasshopper
    Sound more professional and stay connected with Grasshopper, the Virtual Phone System designed for entrepreneurs. Grasshopper works just like a traditional phone system, but requires no hardware to purchase or software to install.
    See all alternatives