Reputation: 757
I want to launch single Internet explorer instane as different user with Selenium
. I referred to the following post but not getting anywhere.
How can I run Internet Explorer Selenium tests as a specific domain user?
Can you point me in the right direction how it can be achieved?
Upvotes: 0
Views: 4255
Reputation: 145
You can achieve that using URI authentication. For Google Chrome that behavior works without any additional changes, but for IE it blocked by default. You can unlock it by:
Set the DWORD value's value data to 1 in one of the following registry keys.
After that you will be able to use next URI to achieve your needs: http://username:password@host/ If you want to provide domain name, you need encode that like http://domain%5Cusername:password@host/
Upvotes: 1