Module: Capybara::Pagemap::Input::ClassMethods
- Defined in:
- lib/capybara/pagemap/input.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#define_input(name, xpath, type = :input) ⇒ Object
9 10 11 |
# File 'lib/capybara/pagemap/input.rb', line 9 def define_input(name, xpath, type = :input) node_definitions[name] = { type: type, value: xpath } end |