When comparing unobtainium vs Puppeteer, the Slant community recommends Puppeteer for most people. In the question“What are the best test automation tools for web apps?” Puppeteer is ranked 8th while unobtainium is ranked 17th.
Ranked in these QuestionsQuestion Ranking
Custom drivers for e.g. API testing or static HTML testing exist and are easily built. Driver modules allow you to extend the main driver (e.g. Selenium or Appium) with ease.
Pro Platform agnostic because it is configuration driven
For test suites crossing multiple platforms, selecting the test target platform can be driven entirely by configuration.
Pro Seamlessly automate mobile and desktop browsers
Based on either Appium or Selenium, the API remains largely the same when switching between different platforms.
Pro Works great with modern node.js features
Pro Runs a real browser
Unlike the other options here, this is a real browser, just without the GUI parts. This means the quality of the test is much higher, and lets you do things like save to PDF or images.
Pro Actively developed and promoted by Google
Pro Complete API for Chromium included
Chromium tests depend on the same API that Puppeteer gives you access to, so all the features are included
Con Not good for Cross Browser Tests
Since it only tests via Chromium, it won't help you test inconsistencies between browsers like Edge or Safari. There are projects to get around this, but they aren't mature.