Issue #3188957 by anmolgoyal74, abarrio, xjm: Use RequestException::hasResponse() in DrupalTestBrowser