It's not too ambitious. My gem, WatirSplash [1], is doing something like that already. It is possible to switch between Watir, FireWatir and Watir-Webdriver's different browser drivers. As a matter of fact i started doing some work recently on Watir's Locators (e.g. they all should support hash syntax and use as much common code as possible). I'm gonna look probably into zero-based indexing too. Maybe i'm going to use Bret's work, maybe not. Depends of the result of the refactoring itself.
I think that Watir-IE needs to pass watirspec specs to become part of Watir-WebDriver. If i'm not mistaken then there's a very long road to go. This brings us to another topic - What about FireWatir? Since jssh is not compiled for newer versions of FireWatir then it seems to me that there's no point of releasing new versions of FireWatir too, since it is going to be quite deprecated already. What do you guys think about that? Do you see any future for FireWatir? [1] https://github.com/jarmo/watirsplash On Fri, Jul 15, 2011 at 4:28 AM, Alister Scott <[email protected]> wrote: > Hi, > > What would be needed to get to a point where Watir-Webdriver was fully > included in Watir? > > Watir would choose the best driver for the platform and browser. For > example, on Windows and IE, this would be the native Watir driver, on > Mac-Chrome, this would be ChromeDriver. > > I understand the biggest difference is the zero based indexing, but I don't > think there has been any work since October last year on this: > https://github.com/bret/watir/tree/zero-index > > What I would love to see one gem "watir" that provides all the necessary > drivers easily configurable for all platforms. We could then have unified > documentation on watir.com that easily shows how to use this. > > Am I being too ambitious? What needs to be done? > > Cheers, > Alister > > Alister Scott > Brisbane, Australia > Watir Web Master: http://watir.com > Blog: http://watirmelon.com > LinkedIn: http://www.linkedin.com/in/alisterscott > > "There are two ways to get enough: One is to continue to accumulate more and > more. The other is to desire less." ~ G. K. Chesterton > > _______________________________________________ > 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
