We don't have a more elegant way of dealing with Basic Authentication
yet. Someday Watir might borrow some of the code from Net::HTTP to do
this, but it won't be happening any time soon.
If you search the archives, you'll find some discussion of me trying
to hack Basic Auth into Watir's goto() me
I was not able to get this to work via Watir. I created a very small Autoit
file which ran before the script. I used a batch file to execute both files.
The Auotit code is below (just in case, someone else runs into the issue):
Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive
The above said code steps are working fine with me when i opened a particular
site. May be there aren't enough permissions to view the site which have been
mentioned above.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mail
t; <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 04, 2007 5:12 PM
Subject: [Wtr-general] Accessing a web page when a server request for
username/password appears?
> Hello,
>
> I am running into an issue where I am attempting to go to a web page but
> cannot proceed due to a standa
Hello,
I am running into an issue where I am attempting to go to a web page but cannot
proceed due to a standard IE window (I believe this is a standard IE window).
test_site = 'http://my_test_site.com'
ie = Watir::IE.new
ie.goto(test_site)
A popup window appears when I attempt ie.goto(test_sit