title: Check connection refused error after Selenium Chrome webdriver .get
body: <p>I run Selenium 3.141 tests with Chrome WebDriver. If I forget to start web server, Chrome gives <code>ERR_CONNECTION_REFUSED</code> error. But <code>.get</code> method doesn't raise any exception as if page was successfully loaded. Is it possible to raise an exception on this error?</p>
  
  <pre class="lang-py prettyprint-override"><code>import unittest
  from selenium import webdriver
  
  
  class NewVisitorTest(unittest.TestCase):
      def setUp(self):
          self.browser = webdriver.Chrome()
  
      def test_can_start_a_list_and_retrieve_it_later(self):
          self.browser.get('http://localhost:8000')
          self.assertIn('page title', self.browser.title)
  
      def tearDown(self):
          self.browser.quit()
  
  
  if __name__ == '__main__':
      unittest.main(warnings='ignore')
  
  </code></pre>