1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/node.rb
2009-12-11 22:40:23 +01:00

40 lines
525 B
Ruby

class Capybara::Node
attr_reader :driver, :node
def initialize(driver, node)
@driver = driver
@node = node
end
def text
raise "Not implemented"
end
def [](name)
raise "Not implemented"
end
def value
self[:value]
end
def set(value)
raise "Not implemented"
end
def select(option)
raise "Not implemented"
end
def click
raise "Not implemented"
end
def drag_to(element)
raise "Not implemented"
end
def tag_name
raise "Not implemented"
end
end