Issue Details (XML | Word | Printable)

Key: SRC-258
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: dubya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Circumventing Default Authentication for IE

Created: 06/Jun/07 01:26 PM   Updated: 18/Nov/08 08:46 AM   Resolved: 30/Aug/07 01:43 PM
Component/s: Launcher - Internet Explorer, Server
Affects Version/s: 0.7, 0.7.1, 0.8.0, 0.8.1, 0.9.0, 0.9.2
Fix Version/s: 0.9.2

Environment: All


 Description  « Hide

Pertaining to the default authetication problem (login prompt) that people experience when opening web pages, i would like to suggest this be a feature added to the RC:

http://weblogs.asp.net/cumpsd/archive/2004/02/07/69366.aspx

Click on this link and it shows you how to use the protocol for username:password in the URL. Although IE prohibits this usage, the above link explains how to modify 3 simple registry settings to allow this. A user could simply do this themselves to have a permanent setting on their machine, and thus be able to utilize the username:password URL syntax.

However, the selenium server already modifies registry settings to specify it's own proxy - shouldn't it just as easily be able to modify/restore this setting for running in IE? I think that it would be an imperative feature to add to the RC for the next release.

The only thing the user should be responsible for is to add a <username>:<password>@ into the URL of their selenium.open() command. (Or perhaps there could be a setUser/setPassword command called before the open statement?)



Sort Order: Ascending order - Click to sort in descending order
Dan Fabulich added a comment - 06/Jun/07 01:35 PM

This is a great idea. In case that link disappears, here's the essential bit about the registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
to re-enable it for the entire machine,

or go to:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
to re-enable it for the logged in user.

Now create iexplore.exe and explorer.exe DWORD values and set their value data to 0.

Done, you just got the user:pass@ functionality back.


Dan Fabulich added a comment - 04/Jul/07 01:46 AM

I wish we'd gotten this in for 0.9.2, but nobody got around to it. I totally want it in for 0.9.3 though.


Dan Fabulich added a comment - 30/Aug/07 01:43 PM

fixed in rc revision 1955