I'll make the change and also add a unit test for testing Browser#html. - Angrez
On Mon, Apr 12, 2010 at 8:33 PM, Bret Pettichord <[email protected]>wrote: > Angrez, > > Do you want to make this change or would you like some one else to? > > We must not have a test for Browser#html. We should add that. > > Bret > > > On Mon, Apr 12, 2010 at 4:36 AM, Angrez Singh <[email protected]> wrote: > >> My mistake, just read that Firefox doesn't support outerHTML. Though I ran >> all the test cases before committing the change. I think we can roll it back >> and set it to innerHTML. >> >> Thanks, >> Angrez >> >> >> On Fri, Apr 9, 2010 at 9:31 PM, Bret Pettichord <[email protected]>wrote: >> >>> I have the same question. Angrez? >>> >>> On Thu, Apr 8, 2010 at 11:43 AM, Ethan <[email protected]> wrote: >>> >>>> I'm confused by this commit: >>>> http://github.com/bret/watir/commit/7bb95ab84093dfc2edc86234643ff86368538b11 >>>> It changes Element#html to use (javascript) outerHTML rather than >>>> innerHTML. However, no outerHTML javascript function exists for Firefox, >>>> which is why innerHTML was used in the first place. Trying to use >>>> Element#html in firewatir, it just returns a blank string. >>>> >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> [email protected] >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> >>> -- >>> Bret Pettichord >>> Lead Developer, Watir, www.watir.com >>> >>> Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/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 >> > > > > -- > Bret Pettichord > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/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
