Open gajananrmahajan opened 4 years ago
I'm trying to automate NTLM login using browserup-proxy with intergration of Selenium WebDriver and it results into 'AuthType NTLM is not supported for HTTP Authorization'
Steps to reproduce: Following is code snippet to achieve the same -
String path = "src/test/resources"; File file = new File(path); String absolutePath = file.getAbsolutePath() + "\\chromedriver.exe"; System.setProperty("webdriver.chrome.driver", absolutePath); BrowserUpProxy browserUpProxyServer = new BrowserUpProxyServer(); browserUpProxyServer.autoAuthorization("the-myapp.com", "admin", "admin", AuthType.NTLM); browserUpProxyServer.start(); Proxy seleniumProxy = ClientUtil.createSeleniumProxy(browserUpProxyServer); ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.setProxy(seleniumProxy); driver = new ChromeDriver(chromeOptions); driver.get("https://the-myapp.com/bnp");
When this code is run, following error is thrown for autoAuthorization() method -
autoAuthorization()
AuthType NTLM is not supported for HTTP Authorization
Expected behavior NTLM auto authorization is expected to succeed
I'm trying to automate NTLM login using browserup-proxy with intergration of Selenium WebDriver and it results into 'AuthType NTLM is not supported for HTTP Authorization'
Steps to reproduce: Following is code snippet to achieve the same -
When this code is run, following error is thrown for
autoAuthorization()
method -AuthType NTLM is not supported for HTTP Authorization
Expected behavior NTLM auto authorization is expected to succeed