Hi all,

I'm trying to do some Composition (as described here: 
http://watirmelon.com/2011/01/24/composition-or-inheritance-for-delegating-page-methods/#comments
 at 
the bottom of the article). Problem that I have is, that I am trying to 
compose/superclass a browser.button(...).click (i.e the .click part). How 
would I do that. I tried looking at the webdriver code on how .click is 
done but can't figure it out. Anyone got an idea? I'm pulling a blank 
(mainly due to my inexperience in ruby OO).

Thanks for the help!
Oliver

 

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to