calabash-android 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/lib/calabash-android/operations.rb +4 -2
- data/lib/calabash-android/version.rb +2 -2
- metadata +3 -3
data/CHANGES.txt
CHANGED
@@ -195,8 +195,10 @@ module Operations
|
|
195
195
|
begin
|
196
196
|
Timeout.timeout(30) do
|
197
197
|
file_name = "#{path}/#{filename_prefix}_#{StepCounter.step_line}.png"
|
198
|
-
|
199
|
-
|
198
|
+
image = http("/screenshot")
|
199
|
+
open(file_name ,"wb") { |file|
|
200
|
+
file.write(image)
|
201
|
+
}
|
200
202
|
log "Screenshot stored in: #{file_name}"
|
201
203
|
end
|
202
204
|
rescue Timeout::Error
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 9
|
10
|
+
version: 0.2.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonas Maturana Larsen
|