stealth_browser_automation 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browserfactory.rb +2 -2
- 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: f8319fc7f70cf5e5f63e26f627b76cbbbbe1dbad
|
4
|
+
data.tar.gz: c53b548d25ba886538d27ca12ede9a1e702632ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429f46cba2b83403c0ceca9c0cdbf2bee8a09f06c81d3700d1cb8196827793b0751f9b822c15ad175ee9e8b689c83cabee159054fba449c70aa42a997e4d2fed
|
7
|
+
data.tar.gz: e482d3e54791885e664b908037d0cd7b27dffead2fcd70e08be77587b9c9436a05802d16bb73f53d2b0fe303cf30eaa11fe42a9bd3f8ff05bc4461bff485aeb3
|
data/lib/browserfactory.rb
CHANGED
@@ -378,7 +378,7 @@ module BlackStack
|
|
378
378
|
end
|
379
379
|
|
380
380
|
def self.destroy()
|
381
|
-
if @@type
|
381
|
+
if @@type == BlackStack::BrowserFactory::TYPE_CHROME
|
382
382
|
self.lockProfileList()
|
383
383
|
self.readPidToProfileList(@@profile_name).each { |pid|
|
384
384
|
MyProcess.kill(pid)
|
@@ -390,7 +390,7 @@ module BlackStack
|
|
390
390
|
rescue => e
|
391
391
|
#
|
392
392
|
end
|
393
|
-
elsif @@type
|
393
|
+
elsif @@type == BlackStack::BrowserFactory::TYPE_MIMIC
|
394
394
|
@@browser.close if !@@browser.nil?
|
395
395
|
begin
|
396
396
|
BlackStack::BrowserFactory.mimic(@@profile_name)
|