diff --git a/lib/capybara/node/matchers.rb b/lib/capybara/node/matchers.rb index d624164b..a440be1e 100644 --- a/lib/capybara/node/matchers.rb +++ b/lib/capybara/node/matchers.rb @@ -13,7 +13,7 @@ module Capybara # By default it will check if the expression occurs at least once, # but a different number can be specified. # - # page.has_selector?('p#foo', :count => 4) + # page.has_selector?('p.foo', :count => 4) # # This will check if the expression occurs exactly 4 times. #