dadi zreik dadi zreik - 1 year ago 427
Java Question

Difference between webdriverjs and webdriverio

I am trying to choose a tool for Javascript automation tests.

Until now I used Selenium Webdriver in Java with testng to build my tests, but I have been asked to search for Javascript solution to write tests.

Of course the first thing on my mind was to move to webdriverjs - it should be similar to my Java tests,
but I also found another framework, I could not find anything that could be done with that is not possible with webdriverjs.

Please help me to understand the difference so I can choose the right framework for me.

Answer Source

"WebdriverJS" is another name for selenium-webdriver, the official Node.JS implementation of the JSONWire (WebDriver Wire) Protocol by the Selenium team.

"WebdriverIO" is an independent implementation of the JSON Wire Protocol by Christian Bromann (SO profile), who works at Sauce Labs, a provider of cloud-base cross-browser testing. WebdriverIO wraps its lower level requests into useful commands, with a concise syntax:


The same test with selenium-webdriver is more complicated:


There are at least seven Webdriver clients written in Node.JS.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download