When comparing Leadfoot -> Intern vs selenium-webdriverjs, the Slant community recommends Leadfoot -> Intern for most people. In the question“What are the best Node.JS Selenium WebDriver client libraries / bindings?” Leadfoot -> Intern is ranked 2nd while selenium-webdriverjs is ranked 4th. The most important reason people chose Leadfoot -> Intern is:
Intern is used by big companies such as IBM, Intuit and Mozilla.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Used by big players
Intern is used by big companies such as IBM, Intuit and Mozilla.
Pro Extensive, clear documentation
The documentation starts by describing what Intern is, what it's good for, who it's good for, its terminology, and continues with a tutorial.
Pro JS Foundation project
Intern (and Leadfoot) is a JS Foundation project. The JS Foundation is sponsored by IBM, Samsung, and other industry leaders.
Pro Comparisons available with Jasmine, Mocha, Karma, QUnit, Nightwatch, BusterJS
A project that compares itself with prior art has done its homework.
Pro Continuous Integration support
Pro Very well documented release history
Compare the Intern releases with those from Nightwatch, let alone WD.js
Pro Built-in support for source maps
The built-in support for source maps allows you to easily track issues to the original source files.
Pro Integrates with cloud hosted cross-browser testing services
Can integrate with cloud hosting services from BrowserStack, Sauce Labs and TestingBot.
Pro Always uses Promises
Since it always uses Promise objects every time an asynchronous operation needs to occur, the test system pauses until that Promise object is resolved, or until a timeout occurs. Suite, test and reporter functions can return a Promise.
Pro Extensive documentation
The documentation covers all the modules (including browser-specific ones) and data types. It also includes a change log. There is also a Wiki on GitHub.
Cons
Con Intern has no Cucumber support yet
Leadfoot can be used standalone though.
Con May be overkill for small apps
Intern is a complete testing framework that's designed to work well for enterprise applications. For small projects, the complexity of Intern can be unnecessary.