title: Chrome 59 and Basic Authentication with Selenium/Fluentlenium
body: <p>Chrome 59 has <a href="https://www.chromestatus.com/feature/5669008342777856" rel="noreferrer">removed support for https://user:password@example.com URLs</a>.</p>
  
  <p>I have a test which was using this feature which has now broken, so I'm trying to replace it with a version which waits for the authentication popup and fills in the details. But the following doesn't work on Chrome (which doesn't see the auth popup as an alert):</p>
  
  <pre class="lang-java prettyprint-override"><code>alert().authenticateUsing(new UserAndPassword("test", "test"));
  </code></pre>
  
  <p>The selenium-only version has the same issue:</p>
  
  <pre class="lang-java prettyprint-override"><code>WebDriverWait wait = new WebDriverWait(getDriver(), 10);      
  Alert alert = wait.until(ExpectedConditions.alertIsPresent());     
  alert.authenticateUsing(new UserAndPassword("test", "test"));
  </code></pre>
  
  <p>(based on the answer given here: <a href="https://stackoverflow.com/questions/24304752/how-to-handle-authentication-popup-with-selenium-webdriver-using-java">How to handle authentication popup with Selenium WebDriver using Java</a>)</p>
  
  <p>I can see several workarounds for handling this in FireFox, but nothing for Chrome. Is there any alternative approach?</p>