How to change selenium-standalone port number via webdriverio wdio file?

I need to change the port number of which selenium standalone server is using by default (4444). Port 4444 is currently in use, is there a way to alter the port number via the wdio file? // Test …

Webdriverio using async/await – What is recommended? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year. Improve this question I am running my functional tests using WebdriverIO. I can get the WebdriverIO tests to pass even without async/await. But I read some articles that async/await is the best way of coding javascript to handle promises. I am new to Javascript and pretty lost on promises. What is the best way to code in WebdriverIO (using async/await, or not | e.g: turn