Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebdriverIO Vs Selenium Webdriver (Java Approach)

Any feedback on WebdriverIO vs Selenium with Java? I am in a dilemma and wanted to clear up this confusion.

I have spent a few days learning WebdriverIO and also did some hands-on but reached the conclusion that it is not mature enough. Debugging is really a challenge.

like image 280
user3559569 Avatar asked Feb 25 '16 16:02

user3559569


People also ask

Which is better Selenium or WebdriverIO?

WebDriverIO can do the same things that Selenium can, but also comes with lots of integrations with popular test automation tools and plugins. It is built for testing modern web applications written in React, Vue, Angular, Svelte, or other front-end frameworks built in NodeJS.

Does WebdriverIO support Java?

WebdriverIO is a JavaScript / nodejs implementation of the (Selenium 2.0) WebDriver API - one of many (Selendroid, Protractor, etc.) As the specification says: WebDriver is a remote control interface that enables introspection and control of user agents.

Which WebDriver API is fastest?

HTML UnitDriver is the most light weight and fastest implementation headless browser for of WebDriver.


1 Answers

WebdriverIO is a JavaScript / nodejs implementation of the (Selenium 2.0) WebDriver API - one of many (Selendroid, Protractor, etc.) As the specification says:

WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behaviour of web browsers.

If you use Java, you'll use the Java implementation of WebDriver. Which language, and which implementation you choose, is up to you, your skills, and the skill of your team.

Though I very much doubt that WebdriverIO is "not mature enough". WebDriver is a fine spec, with a number of powerful implementations, but it is very frequently misused. Certainly as far as newbies go, a very large proportion of "random" failures are completely avoidable race conditions within their test code.

like image 142
Andrew Regan Avatar answered Oct 01 '22 02:10

Andrew Regan