Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SSO as an Option in ChromeDriver to automate SSO Applications #7032

Closed
parwalrahul opened this issue Mar 14, 2019 · 1 comment
Closed

Comments

@parwalrahul
Copy link

🚀 Feature Proposal

Need a way to enable ChromeDriver to handle different User IDs via selenium so that we can automate applications with SSO.

Motivation

We are required to do automation of applications which run in Chrome but uses SSO, so while testing we are not able to simulate different users.

Example

Need a method where SSO User Id/ Password can be passed by Driver only.

@diemol
Copy link
Member

diemol commented Mar 24, 2019

@parwalrahul
I am assuming that you mean Single Sign On by SSO, where normally there is a 3rd entity authenticating you instead of the app you are testing.

Therefore, usually the user is redirected to a page where s/he needs to be authenticated, and after that, sent back to the original website. This type of flow can be already automated with the methods that WebDriver offers. Nothing would need to be baked into ChromeDriver or Selenium to support that, it is an interaction with a few websites.

The question lays down more into how to plan the infrastructure for these type of tests, if you can use a production server for authentication or if you are provided with a testing/staging server to authenticate the users needed in the tests.

Now, if the authentication requieres handling some sort of popup to enter user/password details, this is something that is not yet supported, but there is already an issue created in the W3C WebDriver. When/if that lands into the specification, then we could see browser drivers implementing it.

Closing this as this feature proposal already exists in the W3C WebDriver repo.

@diemol diemol closed this as completed Mar 24, 2019
@lock lock bot locked and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants