title: Selenium WebDriver.get() gets stuck when the page it is loading is empty with alert popup login
body: <p>So I have a page that I need to test with selenium, it recently has been changed to use alert popup authentication (If you don't know what I'm talking about then check <a href="https://www.softwaretestingmaterial.com/handle-authentication-popup-window/" rel="nofollow noreferrer">this</a>.</p>
  
  <p>My current approach is pretty much 3. approach from the link above, but I use Actions to send keys instead of just finding elements.</p>
  
  <pre><code>browser.get(url)
  Alert alert = browser.switchTo().alert();
  Actions action = new Actions(browser)
  action.sendkeys(user).sendkeys(Keys.tab).sendkeys(password).perform()
  alert.accept()
  </code></pre>
  
  <p>the problem starts right at the first line, it gets stuck there... Seems like selenium/chromedriver doesn't detect that page is loaded and it can proceed to next line.</p>
  
  <p>I know this for sure because when I try to print something after first line, it never get printed and eventually (an eternity later) it throws me TimeOutException.</p>
  
  <p>Any suggestions?</p>
  
  <p>Using latest:
  Selenium 3.11.0
  ChromeDriver 2.38
  Google Chrome 66</p>