congress_forms 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/congress_forms/version.rb +1 -1
- data/lib/congress_forms/web_form.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebd461a1fded9be916624e7035b87c5d4befd803
|
4
|
+
data.tar.gz: 53d5c79d8d13211b16f30131ad283487edc8babc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44ca2545046b0bb9c2331f93b6e1c3c3a71a3cf16aee02659c1840ba33f85fdafc3ce9a496ed8bf3111ea8d6e5eca7b9619d05d4222637f73811d1803d7412d1
|
7
|
+
data.tar.gz: 5560da79e4d70dfd24172341e9a7fda0a0e97735fea13055b551be4642c959a2c04c09bbe0115357d6c940d50a49459ad4fd19a0897c2ed43b63915459244a34
|
@@ -106,7 +106,9 @@ module CongressForms
|
|
106
106
|
path = "#{dir}/#{bioguide}/#{stamp}_#{random}.png"
|
107
107
|
FileUtils.mkdir_p(File.dirname(path))
|
108
108
|
|
109
|
-
browser.save_screenshot(
|
109
|
+
browser.save_screenshot(path, full: true)
|
110
|
+
|
111
|
+
error.screenshot = path
|
110
112
|
end
|
111
113
|
end
|
112
114
|
end
|