module Capybara::Pagemap::Input::ClassMethods

Public Instance Methods

define_input(name, xpath, type = :input) click to toggle source
# File lib/capybara/pagemap/input.rb, line 9
def define_input(name, xpath, type = :input)
  node_definitions[name] = { type: type, value: xpath }
end