[Wtr-development] FireWatir issues with Multiple Browser Support
Bret Pettichord
bret at pettichord.com
Thu Jun 19 12:26:04 EDT 2008
that is helpful. thanks.
i think i will back out the patch to support multiple browsers. it seems to
depend on a patched xpi, and it doesn't make sense to use it unless we can
get both firewatir and the xpi patched together, which we don't have at hand
today. let's mark this as a todo item after we start merging watir and
firewatir.
Could someone give me more info on the status of the xpi. Where is the
standard repository for this? Who maintains this code? Are we maintaining
Firewatir specific patches or are we contributing the back to Mozilla (are
they maintaining it?). Or are we just compiling it for the convenience of
our users. Has any one looked into making it easier to install (like other
plugins)?
Bret
On Thu, Jun 19, 2008 at 11:02 AM, Paul Rogers <paul.rogers at shaw.ca> wrote:
> heres what Ive been doing.
>
> I have a patched xpi ( source uknown right now, but I guess I could
> find it) that takes a port argument
> I also use the -no-remote option on windows
> I also use 2 different profiles ( the patched xpi needs to be
> installed under both profiles)
>
> This used to work really well, in both Win XP and Mac but I havent
> used it for a while ( 2 months maybe)
> I just tried it and my code that handles 2 browsers nicely seems to be
> broken, but I can telnet to the 2 different browsers without problem
>
> Paul
>
>
>
> On Thu, Jun 19, 2008 at 9:24 AM, Bret Pettichord <bret at pettichord.com>
> wrote:
> > I am trying to sort through various issues that are raised by
> > Stephen's recent patch and support for multiple browsers. I will list
> > several conjectures and puzzles that I have. I would appreciate
> > comments if you have any.
> >
> > The Port Argument. I'm seeing some versions/patches where the -jssh
> > command flag takes a port argument and others where it does not. In my
> > installation, the port argument does not seem to work. But i figure
> > that this must be working for some people. I am wondering whether this
> > depends on the version of the XPI that you are using.
> >
> > A Port for Each Browser? I'm not sure how the version/patch that
> > supports multiple browsers works. I also would think (like Dave) that
> > each browser would need to open a different port. But i don't see code
> > to do this.
> >
> > Profiles. I am wondering whether we see different behavior depending on
> > whether you are using profiles or not. It seems that some people use
> > them, others not. I would like to know more about the pros and cons of
> > using them. I understand what profiles are, and have used them a bit,
> > but not for testing. I haven't thought through their implications for
> > testing. Should separate browsers be using different profiles? If
> > there is a standard practice that we recommend, should we make it the
> > default?
> >
> > New Delay Code. Steve's patch introduced new code that polls the
> > browser to see when it is up, instead of waiting a fixed amount of
> > time (2 seconds). It does this by connecting to the jssh port. Is this
> > one connection to many? Any how, i am wondering whether this code is
> > introducing issues. I'm considering backing it out (since it is only a
> > performance improvement) while we track down the other issues.
> >
> >
> > --
> > Bret Pettichord
> > CTO, WatirCraft LLC, http://www.watircraft.com
> > Lead Developer, Watir, http://wtr.rubyforge.org
> > Blog (Essays), http://www.io.com/~wazmo/blog<http://www.io.com/%7Ewazmo/blog>
> > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist
> > _______________________________________________
> > Wtr-development mailing list
> > Wtr-development at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/wtr-development
> >
> _______________________________________________
> Wtr-development mailing list
> Wtr-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-development
>
--
Bret Pettichord
CTO, WatirCraft LLC, http://www.watircraft.com
Lead Developer, Watir, http://wtr.rubyforge.org
Blog (Essays), http://www.io.com/~wazmo/blog
MiniBlog (Links), http://feeds.feedburner.com/bretshotlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wtr-development/attachments/20080619/088f1eeb/attachment-0002.html>
More information about the Wtr-development
mailing list