How to use webdriverIO with Javascript