stealth_browser_automation 1.1.33 → 1.1.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/browserfactory.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20b13348055d6a7de835794223f2884c11dc3ee5
4
- data.tar.gz: 1efa1eda1c18e13c85f3c70fdd36b613ec60c77a
3
+ metadata.gz: 5660c0a8cfac17724f1aad4e21b85c7f0de2e543
4
+ data.tar.gz: 92d1a4ef326a140a89c3eee26cd99e8b7b9d0e2d
5
5
  SHA512:
6
- metadata.gz: 67ca6caead1c535a53e094665d949e48e65d1b2672c6bc283c462f027b1cb7a64739e61b0bf2396ec0c3b046a3e5b696d97f399626a2ccc79c8798581b819358
7
- data.tar.gz: fc71155c8e72aed607452dc46aac8277fc617906c78a76c451807d9db0d5196e1a106bbedec68e7cac2741c00e49ec563cac29775da33a94c860c5a767fdff98
6
+ metadata.gz: 5fc9c6e5b0a50fdceee053b5e3fe9ebee2e5d6685fcf7af4a2cd047e84957d788540e71868bdb037e31c2f2c8a50cb0cd2a70fc869f18750fe19e730872b6e72
7
+ data.tar.gz: 654463e6de3e88b7c21c90663968a4cf10a46be96f9dc1d393b5ff7336da475bac14046cd599447bedc4004492f499cbccc8c38537ead21a8df2281281bf3478
@@ -605,18 +605,18 @@ puts 'no'
605
605
 
606
606
  i = 0
607
607
  max = 90
608
- success = 0
608
+ success = 0 # I have to call this access point many times to get the browser closed.
609
609
  max_success_required = 30
610
610
  while i<max && success<max_success_required
611
- puts ''
611
+ #puts ''
612
612
  i+=1
613
613
  url = "http://127.0.0.1:#{BlackStack::StealthBrowserAutomation::Multilogin::mla_local_port}/api/v1/profile/stop?profileId=#{@@profile_name}"
614
- print "Api Call ##{i.to_s} to: #{url}... "
614
+ #print "Api Call ##{i.to_s} to: #{url}... "
615
615
  uri = URI.parse(url)
616
616
  body = Net::HTTP.get(uri)
617
617
  res = JSON.parse(body)
618
618
  success += 1 if res['status'].to_s == 'OK'
619
- puts "response: #{res['status'].to_s}"
619
+ #puts "response: #{res['status'].to_s}"
620
620
  end # while i<max && && success<max_success_required
621
621
  raise "Error requesting Mimic to stop (tried #{i.to_s} times)" if success<max_success_required
622
622
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stealth_browser_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.33
4
+ version: 1.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi