Can you please check which version of WebdriverIO you are using? This was a known issue and was fixed in one of the latest versions.