diff --git a/lib/capybara/selector.rb b/lib/capybara/selector.rb index 4f9b3fed..4a22d7f8 100644 --- a/lib/capybara/selector.rb +++ b/lib/capybara/selector.rb @@ -21,6 +21,7 @@ module Capybara @name = name @custom_filters = {} @match = nil + @label = nil @failure_message = nil instance_eval(&block) end