none
Why Selenium ChromeDriver try to authorize with my AD username on Windows 10 RRS feed

  • Question

  • Hello there,

    I'm new to all that C# world, but I'm trying to write some nUnit tests. I also use Active Directory authentication for my Windows via JumpCloud. Otherwise, there is no problem with my tests, Chrome is opens and tests executed properly. I take the instance of ChromeDriver in that way:

    var assembly = Assembly.GetExecutingAssembly();
    var directoryName = Path.GetDirectoryName(assembly.Location);
    
    return new ChromeDriver(directoryName);
    The problem is when I use ChromeDriver and run my tests my account is being blocked because of too many wrong login attempts. After digging into the JumpCloud logs I found the following line<g class="gr_ gr_1006 gr-alert gr_gramm gr_inline_cards gr_run_anim Style replaceWithoutSep" data-gr-id="1006" id="1006">:</g>
    User <username> failed to login from <nil>, process name: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

    <g class="gr_ gr_1006 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Style replaceWithoutSep" data-gr-id="1006" id="1006">And</g> my question is: why that chrome trying to log in anywhere, even more with my AD credentials.

    I'm not sure whether the theme is in the right one, and whether it is a problem of my Windows, Visual Studio, ChromeDriver, JumpCloud or something else entirely.

    Sunday, September 15, 2019 9:40 AM

Answers

  • Hi Zlatin Hristov,

    Thank you for posting here.

    I note that ChromeDriver is a third-party product for which we don't provide help, so I suggest that you could post in the following forum.

    selenium

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Zlatin Hristov Wednesday, October 2, 2019 9:10 PM
    Monday, September 16, 2019 2:29 AM

All replies

  • Hi Zlatin Hristov,

    Thank you for posting here.

    I note that ChromeDriver is a third-party product for which we don't provide help, so I suggest that you could post in the following forum.

    selenium

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Zlatin Hristov Wednesday, October 2, 2019 9:10 PM
    Monday, September 16, 2019 2:29 AM
  • Thanks for <g class="gr_ gr_9 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="9" id="9">answer</g>! I just didn't know where to start :>
    Wednesday, October 2, 2019 9:10 PM