I got it to work with Firefox webdriver by the following:
profile.SetPreference("network.automatic-ntlm-auth.trusted-uris", "google.com");
driver = new FirefoxDriver(profile);
driver.Navigate().GoToUrl("http://user:[email protected]");
More Related Contents:
- Selenium – Basic Authentication via url
- What is the difference between ChromeDriver and WebDriver in selenium?
- Element MyElement is not clickable at point (x, y)… Other element would receive the click
- When to use explicit wait vs implicit wait in Selenium Webdriver?
- Do we have any generic function to check if page has completely loaded in Selenium
- How to handle authentication popup with Selenium WebDriver using Java
- How to handle windows file upload using Selenium WebDriver?
- How to gettext() of an element in Selenium Webdriver
- The type FluentWait is not generic; it cannot be parameterized with arguments error for FluentWait Class through Selenium and Java
- Cannot find firefox binary in PATH. Make sure firefox is installed
- Equivalent of waitForVisible/waitForElementPresent in Selenium WebDriver tests using Java?
- javascript error: Failed to execute ‘elementsFromPoint’ on ‘Document’: The provided double value is non-finite
- Exception in thread “main” java.lang.IllegalStateException: The driver executable does not exist while running Selenium Test on Ubuntu
- org.openqa.selenium.WebDriverException: unknown error: call function result missing ‘value’
- Check if element is clickable in Selenium Java
- Selenium WebDriver and DropDown Boxes
- What is difference between Implicit wait and Explicit wait in Selenium WebDriver? [duplicate]
- Selenium InternetExplorerDriver doesn’t get focus on the window
- “OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application” while starting Internet Explorer through Java and Selenium
- How to set default download directory in selenium Chrome Capabilities?
- Test if an element is present using Selenium WebDriver
- How to make Selenium wait until an element is present?
- Why do some elements exist but not interactable/displayed?
- Selenium Webdriver – Stale element exception when clicking on multiple dropdowns while HTML DOM doesn’t change
- How to open a link in new tab (chrome) using Selenium WebDriver?
- How do I load a javascript file into the DOM using selenium?
- How to wait until an element no longer exists in Selenium
- How to scroll a specific DIV using Selenium WebDriver with Java?
- How to wait for an alert in Selenium webdriver ? [duplicate]
- UnreachableBrowserException Caused by: java.lang.NullPointerException when “webdriver.firefox.marionette” is used