Agreed that the url should be always relative. I won't dig into code just yet, but is your suggested JavaScript getAttribute used by FireWatir already? In Watir, i think that the attribute is retrieved directly from the OLE element. Not sure of course.
Jarmo On Fri, Apr 15, 2011 at 6:16 PM, Alok Menghrajani <[email protected]> wrote: > I like consistency :) > > However, I think it's also nice to have the library support relative > paths. When you have different types of boxes (test, qa, prod, ...), you > don't want to have to deal with absolute URLs because they aren't > constant. Everyone could of course write a wrapper to deal with this, but > imho it would be better for watir to abstract this out. > > Alok > > On 4/15/11 2:01 AM, "Jari Bakken" <[email protected]> wrote: > > > >WebDriver will eventually become consistent in always returning the > >absolute path. If you get the latest pre-release version (0.2.0.dev) > >of selenium-webdriver it will be consistent for at least IE / Firefox. > > _______________________________________________ > 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
