title: How I can get the server error response, using selenium webdriver with java code?
body: <p>I make some tests using selenium web-driver with java code.
  The test includes filling form.
  After click on &quot;send&quot;, if something was wrong with one of the fields, I will get an error message back from the server.
  How did I handle with this message?</p>
  <p><a href="https://i.stack.imgur.com/fLkv5.png" rel="nofollow noreferrer">This is the error message</a></p>