I am in the process of adding a new feature to Watir and have a question.

Consider this code:

     headline = $ie.div(:text, 'Pragmatic Version Control')
     link = $ie.link(:class => 'addtocart', :after? => headline)

Would you assume that link was after headline, or headline after link?
I can make it work either way. Which is more intuitive? Or is it 
confusing no matter what?

Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to