I''d probably just locate it with CSS searching. Pretty sure
page.search(''a.foo'') still does that, though I''m not
as sure since the
move from hpricot to nokogiri.
-Mat
On Apr 11, 2009, at 7:54 PM, Chris Blumentritt wrote:
> I am trying to filter a link that has an attribute class="foo" in
it
> is there something like:
>
> page.links_with(:class => ''foo'') available?
>
> I see there is something for :href and :text
> _______________________________________________
> Mechanize-users mailing list
> Mechanize-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mechanize-users