I am using Javascript with Node.JS and WDIO and trying to start appium programatically in beforeTest hook and stop it in afterTest hook.
I've tried doing so with child_process or some appium-service builder but without any success.
Is there a possibility to start/stop appium server programatically using certain portion of code?
Thanks