Automate using WebdriverIO - Its time to React !
January 12, 2022

Automate using WebdriverIO - Its time to React !

Anurag Bharti | TrustRadius Reviewer
Score 8 out of 10
Vetted Review
Verified User

Overall Satisfaction with WebdriverIO

We are using webdriverIO with typescript. We are using Reactjs for Front-end development. Our use-case is to automate multiple live sessions for different users like Teachers, Student, etc. So we have WebdriverIO for browser testing. I would like to test with WebdriverIO as we can select the way we like to interact with the browser whether it's web driver or DevTools. This is a framework that has a command-line interface (CLI) and a very flexible configuration.
Advantages I feel over other tools:
1.Easy project setup.
2.Flexible configuration.
3.Integration with other test automation tools out of box.
  • It allows to automate any application written with modern web frameworks such as React
  • It can be used to automate native mobile applications for Android and iOS.
  • The WebdriverIO testrunner comes with a command line interface that provides a nice configuration utility that helps to create config file in a minute.
  • It can run the commands both in sync and async modes.
  • It provides a set of commands that abstract away common interactions with an application like navigating, clicking, reading the state of an element.
  • Tasks written in this can only be debugged using the provided WDIO task runner
  • We cannot set breakpoints within tasks but have WDIO pause the run between commands.
  • It is not as customized as Protractor.
  • It deviates from generic syntax which may confuse Selenium developers having knowledge of other languages.
  • It has excellent API documentation
  • It has support for most BDD and TDD test frameworks.
  • It has a command-line interface-wdio which makes test configuration easy and simple.
  • It helped in cross browser testing
  • It helped in automating multiple browsers at a time.
  • Code coverage is optimum as this supports Javascript(Typescript)
1. WebdriverIO is used for automating both browsers and native mobile apps.
2. Selenium is being used on most of the languages except JavaScript (TypeScript) and our front-end development is in Reactjs

Do you think WebdriverIO delivers good value for the price?

Yes

Are you happy with WebdriverIO's feature set?

Yes

Did WebdriverIO live up to sales and marketing promises?

I wasn't involved with the selection/purchase process

Did implementation of WebdriverIO go as expected?

Yes

Would you buy WebdriverIO again?

Yes

Best suited where frontend developments are in React and where BDD and TDD test frameworks are to be used. Its syntax is very easy to write and understand. Even the non-programmer can do the initial setup.

Not suited when the language you are using is other than Javascript(or Typescript).