Class: Capybara::PageObject::Action
- Defined in:
- lib/capybara-pageobject/action.rb
Instance Method Summary collapse
Methods inherited from Element
Constructor Details
This class inherits a constructor from Capybara::PageObject::Element
Instance Method Details
#disabled? ⇒ Boolean
6 7 8 |
# File 'lib/capybara-pageobject/action.rb', line 6 def disabled? element[:disabled] end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/capybara-pageobject/action.rb', line 10 def to_s "'action: #{@name}'" end |