Discussion:
[selenium-users] How to open IE as different user using selenium webdriver?
Shashank Jain
2016-09-28 17:42:23 UTC
Permalink
How to open IE as different user using selenium webdriver?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/70339f9c-a8eb-4a66-bad1-f0d8ebc3f3f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
David
2016-09-29 16:02:12 UTC
Permalink
Well, if Selenium (test/script) opens IE under the current user, then the
logical method would be to script a method to do it for desired user, e.g.:

- Use Run As feature (in command line) to run test/script under specific
account (although I think that was for elevating admin access instead)
- Use script solution to invoke remote desktop login (or logout of
current local desktop then log back in) for desired user then execute
Selenium test/script
- Use tool like PSExec.exe to remotely execute the Selenium test/script
under specified user and/or (desktop) session, assuming the session is
active and unlocked (whether it be local desktop or a remote desktop
session).
- Not sure if IEDriver has any options to specify the user to run as
Post by Shashank Jain
How to open IE as different user using selenium webdriver?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3c84fff3-f3f3-4cf8-b944-31458d815cf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Amir Sejdinovic
2018-12-07 11:27:09 UTC
Permalink
Hi,
ItÂŽs now two years since you posted this question. May I ask if you have
solved the issue in some way?

I have the same issue in my test. I need to login as different user using
the selenium. Actually I want to do it for chrome as well.

Did you solve the issue in some way?
Post by Shashank Jain
How to open IE as different user using selenium webdriver?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1cb36401-d3a5-4516-bef0-aa38eefef376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...