selenium grid 2 - Safari Authentication popup issue

227 views
Skip to first unread message

Srividya Subramani

unread,
Feb 6, 2013, 8:25:36 AM2/6/13
to seleniu...@googlegroups.com
Hi,

I am using selenium Grid 2 for running my tests in safari

But after the browser launches an pop up appears which asks for the user name and password and nothing else happens.

Safari - 5.1.7
selenium jar - 2.29.0

Have attached the screen shot and the error log.

please correct me and suggest me a solution.


Thanks,
Srividya.S


Safari_Error_log.txt
safari_popup.JPG

Srividya Subramani

unread,
Feb 7, 2013, 12:57:30 AM2/7/13
to anil arige, seleniu...@googlegroups.com
Hi,

Thanks for your reply, but this pop up does not appears when we  hit the URL manually and can you please guide me for user name and password of what should be given in the popup.

And also I have not added the safari extension and certificate in the system hope this is what i must proceed with if not please correct me.

I am about to follow this blog http://autumnator.wordpress.com/2011/12/22/autoit-sikuli-and-other-tools-with-selenium-grid/

please do guide me.

Thanks in advance,
Srividya.S


On Wed, Feb 6, 2013 at 11:43 PM, anil arige <arige...@gmail.com> wrote:
If its browser specific window, pass the details of username & password along with the URL itself.

Srividya Subramani

unread,
Feb 7, 2013, 6:56:09 AM2/7/13
to anil arige, seleniu...@googlegroups.com
Hi,

Any update on this issue please let me to a solution I have added the certificate and the safari driver extension too....

But still the safari launches and lands to the http://localhost/localstart.asp page and a popup appears and asks for the name & password pls help me.

Thanks in advance,
Srividya.S

David

unread,
Feb 7, 2013, 1:45:37 PM2/7/13
to seleniu...@googlegroups.com, anil arige
Are you testing localstart.asp? I have to check to confirm, but I don't think SafariDriver starts up on that page as the default when you launch SafariDriver.

I can't help you here. Maybe someone else can.

Here's one thought: if you are testing localstart.asp, it could be that opening that page from SafariDriver (e.g. consider it like opening via Javascript code) is treated by Safari as a security risk and hence you may get that and not when you browse there normally. And/or the Safari session started by SafariDriver is not associated to your Windows account login, and hence you are prompted for login, whereas manually using Safari is attached to your Windows account (which may then auto supply your login implicitly), this is particularly true if your localhost web server is IIS using Windows authentication.
Reply all
Reply to author
Forward
0 new messages