Module: Capybara::UI

Extended by:
Constructors
Included in:
WidgetParts::Container
Defined in:
lib/capybara/ui.rb,
lib/capybara/ui/dsl.rb,
lib/capybara/ui/role.rb,
lib/capybara/ui/version.rb,
lib/capybara/ui/widgets.rb,
lib/capybara/ui/assertions.rb,
lib/capybara/ui/checkpoint.rb,
lib/capybara/ui/rails/role.rb,
lib/capybara/ui/text_table.rb,
lib/capybara/ui/conversions.rb,
lib/capybara/ui/widgets/dsl.rb,
lib/capybara/ui/widgets/form.rb,
lib/capybara/ui/widgets/list.rb,
lib/capybara/ui/widgets/field.rb,
lib/capybara/ui/widgets/table.rb,
lib/capybara/ui/widgets/select.rb,
lib/capybara/ui/widgets/widget.rb,
lib/capybara/ui/widgets/document.rb,
lib/capybara/ui/widgets/check_box.rb,
lib/capybara/ui/widgets/list_item.rb,
lib/capybara/ui/text_table/mapping.rb,
lib/capybara/ui/widgets/text_field.rb,
lib/capybara/ui/widgets/field_group.rb,
lib/capybara/ui/widgets/widget_name.rb,
lib/capybara/ui/instance_conversions.rb,
lib/capybara/ui/text_table/cell_text.rb,
lib/capybara/ui/widgets/parts/struct.rb,
lib/capybara/ui/widgets/radio_button.rb,
lib/capybara/ui/widgets/string_value.rb,
lib/capybara/ui/widgets/widget_class.rb,
lib/capybara/ui/optional_dependencies.rb,
lib/capybara/ui/text_table/void_mapping.rb,
lib/capybara/ui/widgets/parts/container.rb,
lib/capybara/ui/widgets/cucumber_methods.rb,
lib/capybara/ui/text_table/transformations.rb,
lib/capybara/ui/widgets/widget/node_filter.rb

Defined Under Namespace

Modules: Assertions, Constructors, Conversions, CucumberMethods, DSL, InstanceConversions, OptionalDependencies, Rails, WidgetClass, WidgetParts, Widgets Classes: AmbiguousWidget, CheckBox, Checkpoint, Document, Field, FieldGroup, Form, InvalidOption, InvalidRadioButton, List, ListItem, Missing, MissingWidget, RadioButton, Role, Select, StringValue, Table, TextField, TextTable, Widget, WidgetName

Constant Summary collapse

VERSION =
'1.0.2'

Instance Method Summary collapse

Methods included from Constructors

Decimal, Integer, Widget

Instance Method Details

#deprecate(method, alternate_method, once = false) ⇒ Object


27
28
29
30
31
# File 'lib/capybara/ui.rb', line 27

def deprecate(method, alternate_method, once=false)
  @deprecation_notified ||= {}
  warn "DEPRECATED: ##{method} is deprecated, please use ##{alternate_method} instead" unless once and @deprecation_notified[method]
  @deprecation_notified[method] = true
end