Class: Capybara::UI::Role
- Inherits:
-
Capybara::UI::Rails::Role
- Object
- ActionDispatch::IntegrationTest
- Capybara::UI::Rails::Role
- Capybara::UI::Role
- Extended by:
- Widgets::DSL
- Includes:
- DSL
- Defined in:
- lib/capybara/ui/role.rb
Instance Attribute Summary
Attributes included from DSL
Instance Method Summary collapse
Methods included from Widgets::DSL
Methods included from DSL
#click, #document, #double_click, #eventually, #has_widget?, #hover, #not_visible?, #right_click, #set, #submit, #value, #values, #visible?, #visit, #widget, #widgets
Methods inherited from Capybara::UI::Rails::Role
Constructor Details
This class inherits a constructor from Capybara::UI::Rails::Role
Instance Method Details
#inspect ⇒ Object
16 17 18 |
# File 'lib/capybara/ui/role.rb', line 16 def inspect self.class.name end |
#see?(name, *args) ⇒ Boolean
8 9 10 11 12 13 14 |
# File 'lib/capybara/ui/role.rb', line 8 def see?(name, *args) if respond_to?("see_#{name}?") send("see_#{name}?", *args) else visible?(name, *args) end end |