2009-12-09 15:43:40 -05:00
|
|
|
class Capybara::Driver::Base
|
2009-12-16 09:16:52 -05:00
|
|
|
def current_url
|
2009-12-29 23:43:14 -05:00
|
|
|
raise NotImplementedError
|
2009-12-16 09:16:52 -05:00
|
|
|
end
|
|
|
|
|
2009-12-09 15:43:40 -05:00
|
|
|
def visit(path)
|
2009-12-29 23:43:14 -05:00
|
|
|
raise NotImplementedError
|
2009-12-09 15:43:40 -05:00
|
|
|
end
|
2009-12-29 23:43:14 -05:00
|
|
|
|
2009-12-09 15:43:40 -05:00
|
|
|
def find(query)
|
2009-12-29 23:43:14 -05:00
|
|
|
raise NotImplementedError
|
2009-12-09 15:43:40 -05:00
|
|
|
end
|
2009-12-29 23:43:14 -05:00
|
|
|
|
2010-07-09 21:11:54 -04:00
|
|
|
def source
|
|
|
|
raise NotImplementedError
|
2010-06-29 16:41:33 -04:00
|
|
|
end
|
|
|
|
|
2010-07-09 21:11:54 -04:00
|
|
|
def body
|
|
|
|
raise NotImplementedError
|
2009-12-14 09:30:29 -05:00
|
|
|
end
|
2009-12-29 23:43:14 -05:00
|
|
|
|
2010-07-09 21:11:54 -04:00
|
|
|
def execute_script(script)
|
|
|
|
raise Capybara::NotSupportedByDriverError
|
2009-12-09 15:43:40 -05:00
|
|
|
end
|
2009-12-29 23:43:14 -05:00
|
|
|
|
2010-07-09 21:11:54 -04:00
|
|
|
def evaluate_script(script)
|
|
|
|
raise Capybara::NotSupportedByDriverError
|
2010-02-25 17:51:51 -05:00
|
|
|
end
|
|
|
|
|
2009-12-18 12:50:55 -05:00
|
|
|
def response_headers
|
|
|
|
raise Capybara::NotSupportedByDriverError
|
|
|
|
end
|
2010-06-06 21:13:57 -04:00
|
|
|
|
2010-06-06 23:14:40 -04:00
|
|
|
def status_code
|
2010-06-06 21:13:57 -04:00
|
|
|
raise Capybara::NotSupportedByDriverError
|
|
|
|
end
|
2009-12-29 23:43:14 -05:00
|
|
|
|
2010-04-28 19:03:13 -04:00
|
|
|
def within_frame(frame_id)
|
|
|
|
raise Capybara::NotSupportedByDriverError
|
2010-01-12 14:40:10 -05:00
|
|
|
end
|
|
|
|
|
2010-07-09 21:11:54 -04:00
|
|
|
def wait?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
|
|
|
def wait_until(*args)
|
2010-01-01 17:58:59 -05:00
|
|
|
end
|
|
|
|
|
2010-01-23 06:58:30 -05:00
|
|
|
def cleanup!
|
|
|
|
end
|
|
|
|
|
2010-03-02 17:37:02 -05:00
|
|
|
def has_shortcircuit_timeout?
|
2010-02-25 17:51:51 -05:00
|
|
|
false
|
|
|
|
end
|
|
|
|
|
2009-12-29 23:43:14 -05:00
|
|
|
end
|