File tree 3 files changed +9
-9
lines changed 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,14 @@ You can do to customize a screenshot.
49
49
50
50
``` ruby
51
51
Gnawrnip .configure do |c |
52
- c.frame_interval = 1000 # milliseconds
52
+ c.frame_interval_ms = 1000 # milliseconds
53
53
c.make_animation = true
54
54
c.max_frame_size = 1024 # pixel
55
55
end
56
56
```
57
57
58
58
* ` make_animation ` (Boolean) Whether to make animation GIF. (Default: true)
59
- * ` frame_interval ` (Integer) A time (millisecond) between each image in an animation. Default is ` 1000 ` (1sec)
59
+ * ` frame_interval_ms ` (Integer) A time (millisecond) between each image in an animation. Default is ` 1000 ` .
60
60
* This option is enabled only when the ` make_animation = true ` .
61
61
* ` max_frame_size ` (Integer) Maximum size that use to resize of image.
62
62
* If given, it resize the image to fit to this value.
Original file line number Diff line number Diff line change 21
21
Capybara . javascript_driver = :selenium
22
22
23
23
Gnawrnip . configure do |c |
24
- c . frame_interval = 1000 # milliseconds
25
- c . make_animation = true
26
- c . max_frame_size = 1024 # pixel
24
+ c . frame_interval_ms = 1000
25
+ c . make_animation = true
26
+ c . max_frame_size = 1024 # pixel
27
27
end
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class << self
8
8
#
9
9
# [Integer] Time (millisecond) between each image in animation
10
10
#
11
- attr_accessor :frame_interval
11
+ attr_accessor :frame_interval_ms
12
12
13
13
#
14
14
# [Boolean] Whether to make animation GIF
@@ -59,7 +59,7 @@ def publisher_driver=(driver)
59
59
end
60
60
61
61
Gnawrnip . configure do |c |
62
- c . frame_interval = 1000
63
- c . make_animation = true
64
- c . max_frame_size = nil
62
+ c . frame_interval_ms = 1000
63
+ c . make_animation = true
64
+ c . max_frame_size = nil
65
65
end
You can’t perform that action at this time.
0 commit comments