I like to use code like <a href="javascript:void(0)" id="login_activator">Login</a> which, when clicked, would trigger a jQuery action defined in my application.js file to toggle the display of a div somewhere (in this case, a div that is a partial for a login form). But click_link "Login" fails to recognize this kind of anchor tag! Worse, would Capybara even catch the new div that was originally hidden because it was like <div style="display:none"> ... </div> So I''m having lots of trouble defining a step definition in which all I want to do is login. It would be like what''s at the bottom of this page: https://github.com/cucumber/cucumber/wiki/ruby-on-rails ... but the issue with click_link has stopped me. Thanks in advance... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.