title: How to handle windows authentication popup in selenium using python(plus java)
body: <p><a href="https://i.stack.imgur.com/L9Pia.png" rel="noreferrer"><img src="https://i.stack.imgur.com/L9Pia.png" alt="enter image description here"></a></p>
  
  <p>I tried the below code, but it didn't work for me</p>
  
  <pre><code>from selenium import webdriver
  driver=webdriver.Chrome('D:/BrowsersDriver/chromedriver.exe')
  driver.get('https://username:password@www.engprod-charter.net/')
  </code></pre>
  
  <p>Later on I tried to use the same approach in Java </p>
  
  <blockquote>
    <p>driver.get('<a href="https://username:password@www.engprod-charter.net/" rel="noreferrer">https://username:password@www.engprod-charter.net/</a>')</p>
  </blockquote>
  
  <p>But unfortunately it didn't work for me in any browser. Am I missing something here? </p>
  
  <p>Then I tried with AutoIT in Java</p>
  
  <pre><code>Runtime.getRuntime().exec("D:\\FirefoxWindowAuthentication.exe");
  driver.get("https://www.engprod-charter.net/")
  </code></pre>
  
  <p>It works well in Firefox &amp; IE, but didn't work for Chrome. Is there any way that at-least I can achieve this in selenium using python &amp; what I am missing in case of Java. Please suggest me any solution, tried a lot</p>