On 3/22/07, Oscar <[EMAIL PROTECTED]> wrote:
> Thanks, I'm looking into it now.
>
> Another thing I thought of with the help of someone at my work was to send 
> the http headers along with my request for the url. I fired up Ethereal to 
> capture the packets and found out some information about the http get I'm 
> doing when the username and password get sent.
>
> So if I can find a way to integrate this request into my initial ie open $url 
> then I think I can get past this with minimal hassles. But I haven't found a 
> way to send a custom http header with the url request.

I actually did this, but IE didn't behave properly.  On a normal
connection with Basic Auth, the browser will allow access to every
link and frame accessible once you've logged in one time.  However, if
you pass Basic Auth headers on the Watir goto() method, the browser
only allows you access to a single page, and the links and frames on
the page are still not accessible.

It's probably possible to hack Watir to pass Basic Auth credentials
for access to every element, but it would be a big job.

-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to