Darrell DeBoer wrote:
> I think you're right - this mechanism is a bit clearer for cases
> where we don't need subclasses to override behaviour. I'm not so
> sure how we'd do it for locators where we have different
> implementations for different BrowserBot subclasses - thoughts?
A very good point. Hmmm, I'll have to think about it.
Having thought about it a bit: what about delegation? Where there is
behaviour that may need to be overridden, the (anonymous) locator
function could just delegate to a named function on the prototype object.
--
cheers, MikeW http://www.dogbiscuit.org/mdub/
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel