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
- (Object) current_url
2
3
4
|
# File 'lib/capybara/driver/base.rb', line 2
def current_url
raise NotImplementedError
end
|
- (Object) evaluate_script(script)
26
27
28
|
# File 'lib/capybara/driver/base.rb', line 26
def evaluate_script(script)
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#evaluate_script'
end
|
- (Object) execute_script(script)
22
23
24
|
# File 'lib/capybara/driver/base.rb', line 22
def execute_script(script)
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#execute_script'
end
|
- (Object) find_css(query)
14
15
16
|
# File 'lib/capybara/driver/base.rb', line 14
def find_css(query)
raise NotImplementedError
end
|
- (Object) find_xpath(query)
10
11
12
|
# File 'lib/capybara/driver/base.rb', line 10
def find_xpath(query)
raise NotImplementedError
end
|
- (Object) html
18
19
20
|
# File 'lib/capybara/driver/base.rb', line 18
def html
raise NotImplementedError
end
|
- (Object) invalid_element_errors
50
51
52
|
# File 'lib/capybara/driver/base.rb', line 50
def invalid_element_errors
[]
end
|
- (Boolean) needs_server?
61
62
63
|
# File 'lib/capybara/driver/base.rb', line 61
def needs_server?
false
end
|
- (Object) reset!
58
59
|
# File 'lib/capybara/driver/base.rb', line 58
def reset!
end
|
34
35
36
|
# File 'lib/capybara/driver/base.rb', line 34
def
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#response_headers'
end
|
- (Object) save_screenshot(path, options = {})
30
31
32
|
# File 'lib/capybara/driver/base.rb', line 30
def save_screenshot(path, options={})
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#save_screenshot'
end
|
- (Object) status_code
38
39
40
|
# File 'lib/capybara/driver/base.rb', line 38
def status_code
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#status_code'
end
|
- (Object) visit(path)
6
7
8
|
# File 'lib/capybara/driver/base.rb', line 6
def visit(path)
raise NotImplementedError
end
|
- (Boolean) wait?
54
55
56
|
# File 'lib/capybara/driver/base.rb', line 54
def wait?
false
end
|
- (Object) within_frame(frame_handle)
42
43
44
|
# File 'lib/capybara/driver/base.rb', line 42
def within_frame(frame_handle)
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#within_frame'
end
|
- (Object) within_window(handle)
46
47
48
|
# File 'lib/capybara/driver/base.rb', line 46
def within_window(handle)
raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#within_window'
end
|