stealth_browser_automation 1.1.9 → 1.1.10

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: 8e5b7d022b4081943660188d38da808fde5a8fb4
4
- data.tar.gz: 7d78271edc4513a15d1a8b5ffc97b73ce3954396
3
+ metadata.gz: 1f1c5eacff96a5500251c9d32a3e2f134a95dee8
4
+ data.tar.gz: 5cbb8c3c7927976c5412ca107fd36415b5051efe
5
5
  SHA512:
6
- metadata.gz: b2a3ac895d730e2411fe797056c01b8faba33b84b1a9bf3c7a8c96cf3c669d5ff3abfc2751cc304a5e6bea1d5bddfcc959ab3c3fa625ee74ea3500eed8b9fdbc
7
- data.tar.gz: 543b5abc9fa2a7ca7f891964439bd4eceaf8cd71b357cdfd60fa765e75c3d559aa0147e9b878872f0f8b69dbd9772cd1ba6f0d23916864edd4a81b49d1cd2bd3
6
+ metadata.gz: 278d46c0fb825ae4e9962bcdb9844eb6163dc7220568463dcafa8a8634824051e4d00da0370b7b4c2bfa10f68c4425080328da8ffe3739d5466108889cdb7f40
7
+ data.tar.gz: 75921e2782876f31d7bcf96bdeefcd24f530fe6530aa2a0740419ed8b3a71330aa2b61d55cc2bf9eed156e304cd5f62505abd82d027823bda7966d948979e5b7
@@ -338,13 +338,13 @@ module BlackStack
338
338
 
339
339
  # Returns the list of supported browsers
340
340
  def self.types
341
- [BlackStack::BrowserFactory.TYPE_CHROME, BlackStack::BrowserFactory.TYPE_MIMIC]
341
+ [BlackStack::BrowserFactory::TYPE_CHROME, BlackStack::BrowserFactory::TYPE_MIMIC]
342
342
  end
343
343
 
344
344
  # Returns the description string from a browser type code
345
345
  def self.typeDesc(type)
346
- return 'Chrome' if @@type == BlackStack::BrowserFactory.TYPE_CHROME
347
- return 'Mimic' if @@type == BlackStack::BrowserFactory.TYPE_MIMIC
346
+ return 'Chrome' if @@type == BlackStack::BrowserFactory::TYPE_CHROME
347
+ return 'Mimic' if @@type == BlackStack::BrowserFactory::TYPE_MIMIC
348
348
  raise 'Unknown browser type'
349
349
  end
350
350
 
@@ -410,7 +410,7 @@ module BlackStack
410
410
  # If the browser type is Chrome, this method will return true if the PROFILE_PID_LIST_FILENAME has one or more PIDs registered.
411
411
  # For more information, read documentations about PROFILE_PID_LIST_FILENAME.
412
412
  def self.isCreated
413
- if @@type == BlackStack::BrowserFactory.TYPE_CHROME
413
+ if @@type == BlackStack::BrowserFactory::TYPE_CHROME
414
414
  if (self.readPidToProfileList(@@profile_name).size>0)
415
415
  return true
416
416
  end
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.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi