Launch Browser as Different User

Is there a way to launch a browser as a different user? My organization is building a few web applications that will be using AD authentication in place of a user login page. I will need to test the apps as different users, with different access levels. I haven’t seen anything in the docs that describe how to do this.

Hi @harderd

Is this what you’re looking for:

Regards !

Hi Thanh,

Thanks for the suggestion. I don’t think that this will work because I am not looking to use a different chrome profile. I am trying to use a different windows user. Basically I am looking for a way to emulate what happens when you do a Shift+Right-Click on an application and select Run as different user. Like the images below:

RunAsPic2

I do not necessarily have to do this in Chrome. It could be any browser. I just need at least one where I can run the browser as a different user. Thanks.

Did you ever figure it out??

Were you able to figure out a solution to this? I am having trouble with the same issue.

Did anyone solve this problem?

Edit:
It works for me:
Steps 1:
in your open browser script give the credential as this:
WebUI.openBrowser(‘http:// USERNAME:PASSWORD @example.com’)
Step 2:
Now navigate the url as this:
WebUI.navigateToUrl(‘http://xxx@example.com’)

I checked above. I also checked by using chrome profile change. But there are services which are using current AD account and hence unable to do run as different user.