http://github.com/bret/convio_watir_extensions/blob/master/lib/convio_watir_extensions/watir.rb#L42
An API that lets you tell it to look for the innermost element matching
whatever you specify would be nice (although tricky). I also have hacks to
do similar - in my case looking for the innermost element (of any sort)
which matches some given text.

http://github.com/bret/convio_watir_extensions/blob/master/lib/convio_watir_extensions/watir.rb#L110
This looks handy. I have code to map a table to an array of hashes keyed
with column headers, which seems to be of similar intent. Not sure about the
API, #column is not a very informative name for the method.

http://github.com/bret/convio_watir_extensions/blob/master/lib/convio_watir_extensions/watir.rb#L142
Hey, that code looks familiar. Yeah, that should be in Watir.

http://github.com/bret/watir/commit/1ae23c00206a9276fed4fcd3f52e0cec5a9ad26d
http://github.com/bret/watir/commit/af9bffb0b3d6b9f8cd8361545d5845ed1ee82546
I don't think there is any need to check if an element responds to an event,
just go ahead and fire it. If there is nothing listening, nothing will
happen.
Calling #wait should return immediately if there's nothing to wait for -
checking if there might be a need to wait seems redundant.

http://github.com/bret/watir/commit/5ce0112821c2116a64e27363e19a3a5a44a296b5
http://github.com/bret/watir/commit/18126cb148b74c1c6404adb2ae067b4ba944d403
FileField#set has issues in watir. I think I improved it a lot in vapir,
using WinWindow instead of AutoIt. More reliable, better error messages on
failure. Might be worth porting this over to watir.

http://github.com/bret/watir/commit/c7b29c53f851798c75ec57ecf4b57cda2793c75f
Really? Comparing release dates?
I changed Vapir to rely on javascript setTimeout for this rather than
launching a different ruby process. I think it is a big improvement.

http://github.com/bret/watir/commit/099cde699edb17a9cd84f64eafd0c63786ff8e0d
This seems strange - not an issue I've run into.


On Fri, Sep 17, 2010 at 14:41, Bret Pettichord <[email protected]> wrote:

> I wanted to share the version of Watir that I've been using for the past
> year.
>
> We are using our own for of Watir
> http://github.com/bret/watir/tree/convio
>
> And we also are using a number of monkey patches
> http://github.com/bret/convio_watir_extensions
>
> When I arrived at Convio over a year ago, they were already making heavy
> using of a highly customized version of Watir. This is the version that I
> have been using since in my day-to-day work.
>
> This version includes some code that I think should be in the public
> version and others that we should probably have supported hooks for, so that
> we could easily maintain our own extensions while staying in sync with new
> releases.
>
> I would be very interested to hear your comments about how we might move
> closer to a common code-base. I have lots of ideas, actually, but am not
> sure where to start.
>
> Bret
>
> --
> Bret Pettichord
> Lead Developer, Watir, www.watir.com
>
> Blog, www.io.com/~wazmo/blog
> Twitter, www.twitter.com/bpettichord
>
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to