check for body
check for body

In the case there is no body in the response, the error message appears as follows:
> Uncaught TypeError: Cannot read property 'value' of undefined

After this fix, (Checking if the body exists in the first place) results in displaying a more understandable error message:

> DEBUG webdriver: request failed due to missing body
> ERROR webdriver: Request failed after retry due to Error
klamping/webdriverio,webdriverio/webdriverio,webdriverio/webdriverio,webdriverio/webdriverio,klamping/webdriverio,klamping/webdriverio