Skilled QA Automation Engineer with full-stack development experience
I was inspired to write this article by my students and QA Automation Engineers that I met on conferences and other QA activities.
Usually, when my WebdriverIO course starts, my students asks me why are we studying WebdriverIO and not Selenium?
Anyway, let me tell you about difference between WebdriverIO and Selenium, so the answer if one is better than another would be clear for you.
The picture above displays ratio of web UI automation tools mentions in 2020 for QA Automation job openings.
You can see for sure that Selenium is unconditional leader in this list, and there're a few reasons for it:
Makes sense, right?
This one is a ratio of programming languages mentions in 2020 for QA Automation job openings.
In conclusion, Selenium is the most popular web UI automation tool in test automation market.
That's so because there is no advantage for Selenium over these tools. Selenium uses webdriver to interact with browser, while there's much faster DevTools protocol (but it doesn't support many browsers at current moment). Anyway, the truth is - not many companies perform cross-browser testing, they just run their tests on Chrome and that's it.
WebdriverIO has selection of the way you'd like to interact with browser - whether it's webdriver or DevTools.
Also, Selenium is just a web UI tool and that's it. You only use it to manipulate actions in a browser. While WebdriverIO, on the other hand, is a framework, which has command-line interface (CLI) and very flexible configuration.
In other words, WebdriverIO can do the same things that Selenium, but also comes with lots of integrations with popular test automation tools out of a box.
In conclusion, why WebdriverIO is better than Selenium:
Seems like WebdriverIO is a winner here, but actually, it's so-so...
Create your free account to unlock your custom reading experience.