The show methods were quite handy before there were tools like firebug. Now
I never use them any more. Does any one?

Could we just deprecate them?

Bret

On Thu, Sep 30, 2010 at 8:55 AM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> Hi,
>
> I am working on WTR-93 [1]. I have an idea. Should we replace all "show"
> methods (for example divs.show and show_divs) with to_s? We would get:
>
> puts browser.elements.to_s instead of browser.show_all_objects
> puts browser.divs.to_s instead of browser.divs.show and browser.show_divs
> ...
>
> It would be easier to test, because the method would just return a string.
>
> What do you think?
>
> Željko
> --
> [1] http://jira.openqa.org/browse/WTR-93
>
> _______________________________________________
> Wtr-development mailing list
> Wtr-development@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-development
>



-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com

Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to