In the wdio.conf.js file, I\'m using the beforeTest section to set a JSON web token so that, later on in the test suites I no longer need to login into the web application.