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

Puppeteer

346
454
+ 1
24
WebdriverIO

227
371
+ 1
36
Add tool

Puppeteer vs WebdriverIO: What are the differences?

What is Puppeteer? Headless Chrome Node API. 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.

What is WebdriverIO? Webdriver/Selenium 2.0 JavaScript bindings for Node.js. 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.

Puppeteer belongs to "Headless Browsers" category of the tech stack, while WebdriverIO can be primarily classified under "Browser Testing".

Puppeteer and WebdriverIO are both open source tools. Puppeteer with 51.2K GitHub stars and 4.72K forks on GitHub appears to be more popular than WebdriverIO with 5.04K GitHub stars and 1.44K GitHub forks.

According to the StackShare community, Puppeteer has a broader approval, being mentioned in 25 company stacks & 19 developers stacks; compared to WebdriverIO, which is listed in 7 company stacks and 3 developer stacks.

Advice on Puppeteer and WebdriverIO
Needs advice
on
WebdriverIOWebdriverIOSeleniumSelenium
and
JestJest
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 · 98.7K views
Recommends
SeleniumSelenium

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

See more
Needs advice
on
WebdriverIOWebdriverIOSelenideSelenide
and
CypressCypress

Hi, I am starting out to test an application that is currently being developed - FE: React. BE: Node JS. I want the framework to be able to test all UI scenarios (from simple to complex) and also have the capability to test APIs. I also need to run tests across all OSs and Browsers (Windows, Mac, Android, iOS). I have also looked into react-testing-library and @TestProject.io. Any advice you can give as to which framework would be best and why would be so much appreciated! Thank you!!

See more
Replies (3)
Recommends
PlaywrightPlaywright

You should also definitely look into Playwright, which is a new automation tool from Microsoft building on top of the Puppeteer experience and trying to bring this experience in the cross browser space - very exciting project. Great team. Also CodeceptJS as already Playwright support which at a ton of valuable features on top of Playwright, give it a go!

See more
Jinesh Khimsaria
Test Automation Specialist at Personal · | 3 upvotes · 35.6K views
Recommends
WebdriverIOWebdriverIO

I'm also looking for the same, FE: React & BE: NodeJS. Cypress won't help as it lacks cross-browser testing, it doesn't support all the browsers. I'm still investigating it, but looks like WebdriverIO may fulfil what I'm looking for - Cross-browser testing, integration with CI/CD, running it as a docker service, good support on assertions & reporting of test results. Let me know if you found any information on any of the above mentioned points.

See more
Recommends
CodeceptJSCodeceptJS

Hi Esther, if you really need cross OS and cross device automation Cypress wont help, with WebdriverIO you can do it … and check out CodeceptJS, which is a wrapper around several frameworks (like WebdriverIO) and will support future players (currently for example upcoming Playwright) as well.

See more
Ankur Loriya
Needs advice
on
PuppeteerPuppeteer
and
PhantomJSPhantomJS

I am using Node 12 for server scripting and have a function to generate PDF and send it to a browser. Currently, we are using PhantomJS to generate a PDF. Some web post shows that we can achieve PDF generation using Puppeteer. I was a bit confused. Should we move to puppeteerJS? Which one is better with NodeJS for generating PDF?

See more
Replies (2)
Recommends
PuppeteerPuppeteer

You better go with puppeteer. It is basically chrome automation tool, written in nodejs. So what you get is PDF, generated by chrome itself. I guess there is hardly better PDF generation tool for the web. Phantomjs is already more or less outdated as technology. It uses some old webkit port that's quite behind in terms of standards and features. It can be replaced with puppeteer for every single task.

See more
Recommends
PuppeteerPuppeteer

I suggest puppeteer to go for. It is simple and easy to set up. Only limitaiton is it can be used only for chrome browser and currently they are looking into expanding into FF. The next thing is Playwright which is just a scale up of Puppeteer. It supports cross browsers.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Puppeteer
Pros of WebdriverIO
  • 9
    Scriptable web browser
  • 9
    Very well documented
  • 6
    Promise based
  • 11
    Various integrations to vendors like Sauce Labs
  • 8
    Great community
  • 8
    Open Source
  • 7
    Easy to setup
  • 2
    Best solution for broad browser support

Sign up to add or upvote prosMake informed product decisions

Cons of Puppeteer
Cons of WebdriverIO
  • 9
    Chrome only
  • 7
    High maintenance

Sign up to add or upvote consMake informed product decisions

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

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

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

What companies use Puppeteer?
What companies use WebdriverIO?
See which teams inside your own company are using Puppeteer or WebdriverIO.
Sign up for Private StackShareLearn More

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

What tools integrate with Puppeteer?
What tools integrate with WebdriverIO?

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

Blog Posts

What are some alternatives to Puppeteer and WebdriverIO?
Chef
Chef enables you to manage and scale cloud infrastructure with no downtime or interruptions. Freely move applications and configurations from one cloud to another. Chef is integrated with all major cloud providers including Amazon EC2, VMWare, IBM Smartcloud, Rackspace, OpenStack, Windows Azure, HP Cloud, Google Compute Engine, Joyent Cloud and others.
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.
Salt
Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more.
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.
Ansible
Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.
See all alternatives