stealth_browser_automation 1.1.24 → 1.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/browserfactory.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f38926d28e0432ca3b7cc915917f61c4c3cb195
|
|
4
|
+
data.tar.gz: 85bf072c269c336be834287110b33adb0a51742b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8797630080f9de87c4e5dd0041e0410cb3d1c0c2d4df626912c961bb56edcc3dbb2e5ead9457aed27184a9d3fd564d0e4247e5bee649c26dddbc90201c193fc
|
|
7
|
+
data.tar.gz: 9db19bed23e1798d3462bcf9608d600beaab60bb72f7918f5a7508fbee709673626eeb30b6b72f8d4dc7e5a2f0e2df04412a9d188c667f53621a134fc6520b61
|
data/lib/browserfactory.rb
CHANGED
|
@@ -570,14 +570,14 @@ module BlackStack
|
|
|
570
570
|
#@@browser.close if !@@browser.nil?
|
|
571
571
|
rescue
|
|
572
572
|
end
|
|
573
|
-
|
|
573
|
+
=begin
|
|
574
574
|
begin
|
|
575
575
|
# TODO: entender porque debo hacer esta llamada a start para que el perfil se cierre cuando ya estaba iniciado
|
|
576
576
|
BlackStack::BrowserFactory.mimic(@@profile_name) if !@@profile_name.nil?
|
|
577
577
|
rescue
|
|
578
578
|
# nothing here
|
|
579
579
|
end
|
|
580
|
-
|
|
580
|
+
=end
|
|
581
581
|
i = 0
|
|
582
582
|
max = 3
|
|
583
583
|
success = false
|
|
@@ -589,7 +589,7 @@ module BlackStack
|
|
|
589
589
|
res = JSON.parse(body)
|
|
590
590
|
success = true if res['status'].to_s == 'OK'
|
|
591
591
|
end # while i<max
|
|
592
|
-
raise
|
|
592
|
+
raise "Error requesting Mimic to stop (tried #{i.to_s} times)" if !success
|
|
593
593
|
|
|
594
594
|
else
|
|
595
595
|
raise 'Cannot destroy browser due unknown browser type'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stealth_browser_automation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leandro Daniel Sardi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mini_magick
|