how do I choose elements within a response to manipulate?

8 views
Skip to first unread message

Lille

unread,
Oct 21, 2010, 10:20:11 AM10/21/10
to webrat
Hi,

I have several tables in my response, each with the same elements. How
do I select only a particular table on which to perform manipulations,
e.g., choose, select, etc.

Thanks,

Lille

Lille

unread,
Oct 21, 2010, 12:52:38 PM10/21/10
to webrat
Answer: make the scope of interest the argument of a within block,
like so:

within "table#timbuk_2" do
# blah-blah...
end

Lille
Reply all
Reply to author
Forward
0 new messages