Automate using WebdriverIO - Its time to React !
Use Cases and Deployment Scope
Advantages I feel over other tools:
1.Easy project setup.
2.Flexible configuration.
3.Integration with other test automation tools out of box.
Pros
- 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.
Cons
- 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.
Most Important Features
- 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.
Return on Investment
- It helped in cross browser testing
- It helped in automating multiple browsers at a time.
- Code coverage is optimum as this supports Javascript(Typescript)

