0

I currently have tests in rspec/capybara that use Active Directory to automatically log users in. I would like to specify a different username/password within a Chrome profile in order to test different accounts.

1

Change URL with authentication to: http://user:password@www.yourserveradress.com . This will work in part of situations and will authenticate you to needed service.

Credit goes to the following blog post: https://stackoverflow.com/questions/30247051/handling-windows-authentication-with-selenium-webdriver

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.