Class: Capybara::Driver::Base
- Inherits:
-
Object
- Object
- Capybara::Driver::Base
show all
- Defined in:
- lib/capybara/driver/base.rb
Instance Method Summary
collapse
Instance Method Details
#current_url ⇒ Object
2
3
4
|
# File 'lib/capybara/driver/base.rb', line 2
def current_url
raise NotImplementedError
end
|
#evaluate_script(script) ⇒ Object
22
23
24
|
# File 'lib/capybara/driver/base.rb', line 22
def evaluate_script(script)
raise Capybara::NotSupportedByDriverError
end
|
#execute_script(script) ⇒ Object
18
19
20
|
# File 'lib/capybara/driver/base.rb', line 18
def execute_script(script)
raise Capybara::NotSupportedByDriverError
end
|
#find(query) ⇒ Object
10
11
12
|
# File 'lib/capybara/driver/base.rb', line 10
def find(query)
raise NotImplementedError
end
|
#html ⇒ Object
14
15
16
|
# File 'lib/capybara/driver/base.rb', line 14
def html
raise NotImplementedError
end
|
#invalid_element_errors ⇒ Object
46
47
48
|
# File 'lib/capybara/driver/base.rb', line 46
def invalid_element_errors
[]
end
|
#needs_server? ⇒ Boolean
57
58
59
|
# File 'lib/capybara/driver/base.rb', line 57
def needs_server?
false
end
|
#reset! ⇒ Object
54
55
|
# File 'lib/capybara/driver/base.rb', line 54
def reset!
end
|
30
31
32
|
# File 'lib/capybara/driver/base.rb', line 30
def
raise Capybara::NotSupportedByDriverError
end
|
#save_screenshot(path, options = {}) ⇒ Object
26
27
28
|
# File 'lib/capybara/driver/base.rb', line 26
def save_screenshot(path, options={})
raise Capybara::NotSupportedByDriverError
end
|
#status_code ⇒ Object
34
35
36
|
# File 'lib/capybara/driver/base.rb', line 34
def status_code
raise Capybara::NotSupportedByDriverError
end
|
#visit(path) ⇒ Object
6
7
8
|
# File 'lib/capybara/driver/base.rb', line 6
def visit(path)
raise NotImplementedError
end
|
#wait? ⇒ Boolean
50
51
52
|
# File 'lib/capybara/driver/base.rb', line 50
def wait?
false
end
|
#within_frame(frame_id) ⇒ Object
38
39
40
|
# File 'lib/capybara/driver/base.rb', line 38
def within_frame(frame_id)
raise Capybara::NotSupportedByDriverError
end
|
#within_window(handle) ⇒ Object
42
43
44
|
# File 'lib/capybara/driver/base.rb', line 42
def within_window(handle)
raise Capybara::NotSupportedByDriverError
end
|