I\'m trying to handle authentication popup using the code below:
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference(\"network.http.phishy-u
If you have to deal with NTLM proxy authentication a good alternative is to use a configure a local proxy using CNTLM.
The credentials and domain are configured in /etc/cntlm.conf
.
Afterwards you can just use you own proxy that handles all the NTLM stuff.
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
Proxy proxy = new Proxy();
proxy.setHttpProxy("localhost:3128");
capabilities.setCapability(CapabilityType.PROXY, proxy);
driver = new ChromeDriver(capabilities);