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

Is this saying you want the link that comes after headline? Is there a before? 
:)

*if* thats the case, my only problem with it is that it seems to not follow the 
standard syntax of Watir (as i understand it).

how about ie.link(:class,'addtocard').after(ie.div(:text,'Pragmatic Version 
Control'))
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5849&messageID=16433#16433
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to