Class: Capybara::Driver::Node
- Inherits:
-
Object
- Object
- Capybara::Driver::Node
show all
- Defined in:
- lib/capybara/driver/node.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(driver, native) ⇒ Node
Returns a new instance of Node.
6
7
8
9
|
# File 'lib/capybara/driver/node.rb', line 6
def initialize(driver, native)
@driver = driver
@native = native
end
|
Instance Attribute Details
#driver ⇒ Object
Returns the value of attribute driver.
4
5
6
|
# File 'lib/capybara/driver/node.rb', line 4
def driver
@driver
end
|
#native ⇒ Object
Returns the value of attribute native.
4
5
6
|
# File 'lib/capybara/driver/node.rb', line 4
def native
@native
end
|
Instance Method Details
#[](name) ⇒ Object
15
16
17
|
# File 'lib/capybara/driver/node.rb', line 15
def [](name)
raise NotImplementedError
end
|
#checked? ⇒ Boolean
55
56
57
|
# File 'lib/capybara/driver/node.rb', line 55
def checked?
raise NotImplementedError
end
|
#click ⇒ Object
35
36
37
|
# File 'lib/capybara/driver/node.rb', line 35
def click
raise NotImplementedError
end
|
#drag_to(element) ⇒ Object
39
40
41
|
# File 'lib/capybara/driver/node.rb', line 39
def drag_to(element)
raise NotImplementedError
end
|
#drag_to_location(right, down) ⇒ Object
43
44
45
|
# File 'lib/capybara/driver/node.rb', line 43
def drag_to_location(right, down)
raise NotImplementedError
end
|
#inspect ⇒ Object
71
72
73
74
75
|
# File 'lib/capybara/driver/node.rb', line 71
def inspect
%(#<Capybara::Driver::Node tag="#{tag_name}" path="#{path}">)
rescue NotSupportedByDriverError
%(#<Capybara::Driver::Node tag="#{tag_name}">)
end
|
#select_option ⇒ Object
27
28
29
|
# File 'lib/capybara/driver/node.rb', line 27
def select_option
raise NotImplementedError
end
|
#selected? ⇒ Boolean
59
60
61
|
# File 'lib/capybara/driver/node.rb', line 59
def selected?
raise NotImplementedError
end
|
#set(value) ⇒ Object
23
24
25
|
# File 'lib/capybara/driver/node.rb', line 23
def set(value)
raise NotImplementedError
end
|
#tag_name ⇒ Object
47
48
49
|
# File 'lib/capybara/driver/node.rb', line 47
def tag_name
raise NotImplementedError
end
|
#text ⇒ Object
11
12
13
|
# File 'lib/capybara/driver/node.rb', line 11
def text
raise NotImplementedError
end
|
#unselect_option ⇒ Object
31
32
33
|
# File 'lib/capybara/driver/node.rb', line 31
def unselect_option
raise NotImplementedError
end
|
#value ⇒ Object
19
20
21
|
# File 'lib/capybara/driver/node.rb', line 19
def value
raise NotImplementedError
end
|
#visible? ⇒ Boolean
51
52
53
|
# File 'lib/capybara/driver/node.rb', line 51
def visible?
raise NotImplementedError
end
|