Babel Setup
To write tests using next-generation JavaScript features, you can use Babel to compile your test files.
To do so, first install the necessary Babel dependencies:
- npm
- Yarn
Make sure your babel.config.js
is configured properly.
The simplest setup you can use is:
babel.config.js
Once this is set up WebdriverIO will take care of the rest.