Class: NodeWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara/spec/session/node_wrapper_spec.rb

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ NodeWrapper

Returns a new instance of NodeWrapper


4
# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 4

def initialize(element); @element = element end

Instance Method Details

#to_capybara_nodeObject


5
# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 5

def to_capybara_node(); @element end