Module: Capybara::Animate
- Defined in:
- lib/capybara/animate.rb,
lib/capybara/animate/gif_recorder.rb,
lib/capybara/animate/empty_recorder.rb
Defined Under Namespace
Modules: UserActions
Classes: EmptyRecorder, GifRecorder
Constant Summary
collapse
- VERSION =
File.read(File.join(File.dirname(__FILE__),"..","..","VERSION")).freeze
- USER_ACTIONS =
[
:attach_file,
:check,
:choose,
:click_button,
:click_link,
:click_link_or_button,
:click_on,
:evaluate_script,
:execute_script,
:fill_in,
:go_back,
:go_forward,
:unselect,
:visit,
].freeze
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
7
8
9
|
# File 'lib/capybara/animate.rb', line 7
def self.included(base)
base.send(:prepend,UserActions)
end
|
Instance Method Details
#recorder ⇒ Object
11
12
13
|
# File 'lib/capybara/animate.rb', line 11
def recorder
@recorder ||= EmptyRecorder.new
end
|
#recorder=(other) ⇒ Object
15
16
17
|
# File 'lib/capybara/animate.rb', line 15
def recorder=(other)
@recorder = other
end
|