I completely forgot about Hpricot
http://code.whytheluckystiff.net/hpricot/ 

Looks perfect for this.

- Andy



Andy Watts wrote:
> 
> Hi,
> 
> Anyone know a way to traverse/query the DOM in a response?
> 
> I'm trying to write reusable story step implementations and as much as
> possible want to work with the actual response from a previous GET.
> 
> As an example, I often have buttons that POST/PUT a hidden value.
> My goal is a reusable step implementation that takes the button label and
> works the existing response DOM to make an appropriate POST/PUT.
> 
> - Andy
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Working-with-the-response-DOM-tf4681975.html#a13378962
Sent from the rspec-users mailing list archive at Nabble.com.

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to