firefox.rb file contains code for basic authentication.

On Wed, Oct 28, 2009 at 10:42 PM, aidy lewis <aidy.le...@googlemail.com>wrote:

>
> What file and methods should I be looking at?
>
> Thanks
>
> Aidy
>
> 2009/10/28 Angrez Singh <ang...@gmail.com>:
> > Its in my fork on github. You can have a look.
> > - Angrez
> >
> > On Wed, Oct 28, 2009 at 7:31 PM, aidy lewis <aidy.le...@googlemail.com>
> > wrote:
> >>
> >> Angrez,
> >>
> >> Is that code on github though?
> >>
> >> Aidy
> >>
> >> 2009/10/28 Angrez Singh <ang...@gmail.com>:
> >> > I have added the basic authentication mechanism to Firewatir. Its not
> >> > yet
> >> > released. Me & Bret need to finalize on the syntax, method name etc so
> >> > that
> >> > its easier to use both with Watir/Firewatir.
> >> >
> >> > - Angrez
> >> >
> >> > On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P <jazzezr...@gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi Aedorn,
> >> >>
> >> >>            I got some idea's from Selenium.I implemented it in my
> Watir
> >> >> scripts. Have you tried this way?  -- > http://bit.ly/21zDrH
> >> >>
> >> >>             Awaiting your reply
> >> >>
> >> >> Thanks
> >> >>
> >> >> On Wed, Oct 28, 2009 at 6:03 AM, Ethan <notet...@gmail.com> wrote:
> >> >>>
> >> >>> Yeah, you should be able to get a handle to the window where you
> enter
> >> >>> username/password, get the text fields on that window, set them,
> click
> >> >>> the
> >> >>> 'ok' button. That'd all be in javascript over the jssh socket.
> >> >>>
> >> >>> On Tue, Oct 27, 2009 at 20:28, aidy lewis <
> aidy.le...@googlemail.com>
> >> >>> wrote:
> >> >>>>
> >> >>>> The Firefox browser is completly scriptable. I would suggest
> looking
> >> >>>> at the Mozilla js classes.
> >> >>>>
> >> >>>> 2009/10/27 Chris <christopher.mcma...@gmail.com>:
> >> >>>> >
> >> >>>> >
> >> >>>> > I looked into this a long time ago, and there is no way to
> persist
> >> >>>> > a
> >> >>>> > Basic Auth session in a browser.  You have to have credentials
> for
> >> >>>> > every page request and every frame within every page.   I was
> >> >>>> > hacking
> >> >>>> > around deep in the guts of Watir trying to make this work and
> >> >>>> > failed.
> >> >>>> >
> >> >>>> > Nor do I know of any other tool that makes this possible.  There
> >> >>>> > might
> >> >>>> > be something fancy you could do in multiple libraries used by
> >> >>>> > Watir,
> >> >>>> > buiret I did not have that kind of mandate.
> >> >>>> >
> >> >>>> > I suggest a well-designed set of manual tours.
> >> >>>> >
> >> >>>> > -Chris
> >> >>>> >
> >> >>>> > On Oct 27, 1:53 pm, Aedorn Varanis <aed...@gmail.com> wrote:
> >> >>>> >> This doesn't really solve the problem.
> >> >>>> >>
> >> >>>> >> On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis
> >> >>>> >> <aidy.le...@googlemail.com>wrote:
> >> >>>> >>
> >> >>>> >>
> >> >>>> >>
> >> >>>> >> > Can you not set your trusted uri's in about:config
> >> >>>> >>
> >> >>>> >> > network.automatic-ntlm-auth.trusted-uris ?
> >> >>>> >>
> >> >>>> >> > Aidy
> >> >>>> >>
> >> >>>> >> > 2009/10/27 Aedorn Varanis <aed...@gmail.com>:
> >> >>>> >> > > I took a look around but it doesn't like there's any answer
> to
> >> >>>> >> > > this. I've
> >> >>>> >> > > recently been tasked to automate testing of a product, and
> the
> >> >>>> >> > > only thing
> >> >>>> >> > I
> >> >>>> >> > > can't seem to solve is basic authentication, which is rather
> >> >>>> >> > > funny to me,
> >> >>>> >> > > but not so much to those who are waiting on this being done.
> >> >>>> >>
> >> >>>> >> > > So how can one go about doing basic authentication with
> >> >>>> >> > > FireWatir/Firefox
> >> >>>> >> > on
> >> >>>> >> > > Linux currently?
> >> >>>> >>
> >> >>>> >>
> >> >>>> > >
> >> >>>> >
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Regards,
> >> >> P.Raveendran
> >> >> http://raveendran.wordpress.com
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> > >
> >> >
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to