ESWebDriver + refactor APi response status code