errorResponse function

Return the response from remote webdriver