coelacanth 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/coelacanth/client.rb +2 -2
- data/lib/coelacanth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d92c04c82f120570d29b58787a36897bb769d789dfd5ecbf5f7da725c08710a
|
4
|
+
data.tar.gz: d7e25b8f1eb0e269dec2d6cf8c0c9209693b2f068ebf389ee61f3450fe7db3b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 432f908bf812f69f6398e0346d6f7a104391f56c1057adaa14de06457f2512ddd695b58f2b96ad90ca9063ea533bc54429f4b199c5dea541901dc2839c645143
|
7
|
+
data.tar.gz: 1fdbe4cbe2d354d15d04fb2ba4fd3fd04f2f6c966d91123f443b75831d28aa977c691864bb3d84e1a6922878dbc0120d88d1cdc54ae0390f3052e6331f7dd12f
|
data/Gemfile.lock
CHANGED
data/lib/coelacanth/client.rb
CHANGED
@@ -16,14 +16,14 @@ module Coelacanth
|
|
16
16
|
@status_code = remote_client.network.status
|
17
17
|
@origin_response = remote_client
|
18
18
|
body = remote_client.body
|
19
|
-
|
19
|
+
remote_client.network.wait_for_idle! # might raise an error
|
20
20
|
body
|
21
21
|
end
|
22
22
|
|
23
23
|
def get_screenshot
|
24
24
|
tempfile = Tempfile.new
|
25
25
|
remote_client.screenshot(path: tempfile.path, format: "png")
|
26
|
-
|
26
|
+
remote_client.network.wait_for_idle! # might raise an error
|
27
27
|
File.read(tempfile.path)
|
28
28
|
end
|
29
29
|
|
data/lib/coelacanth/version.rb
CHANGED