diff --git a/lib/capybara/dsl.rb b/lib/capybara/dsl.rb index 0c1cc398..2ecf60c4 100644 --- a/lib/capybara/dsl.rb +++ b/lib/capybara/dsl.rb @@ -48,10 +48,11 @@ module Capybara SESSION_METHODS = [ :visit, :current_url, :body, :click_link, :click_button, :drag, :fill_in, - :choose, :has_xpath?, :has_css?, :check, :uncheck, :attach_file, :select, - :has_content?, :within, :within_fieldset, :within_table, + :choose, :has_xpath?, :has_no_xpath?, :has_css?, :has_no_css?, + :check, :uncheck, :attach_file, :select, + :has_content?, :has_no_content?, :within, :within_fieldset, :within_table, :save_and_open_page, :find, :find_field, :find_link, :find_button, - :field_labeled, :all, :wait_for, :wait_for_condition, :evaluate_script, + :field_labeled, :all, :locate, :evaluate_script, :click, :wait_until ] SESSION_METHODS.each do |method|