stealth_browser_automation 1.1.35 → 1.1.36

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 +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 055ff58dce3c049fe52ab8d3395688e47a00a14d
4
- data.tar.gz: 5cc37aa89eb0171739ff1feb9d25c641cbe07fc3
3
+ metadata.gz: cfc6dad3cd9162542712a170642eb9a67e991f25
4
+ data.tar.gz: 1edcbb5b6f80528cc4cb00a734d186a6083ded2a
5
5
  SHA512:
6
- metadata.gz: b30a67266ea2be4a46d0aa3ace375613438c0b712aecf22f516c499e412f27ec8f137d865df21faa10dbc35632e5e8fde8e00dc072e14c61531bfa333405d600
7
- data.tar.gz: 294363052d2dd77dc1de78cdf0a354c12a65880c93bc1f22084dd6f476ea3adf5b1c0a8bad6046480dc5c93e4107a34a3b8c4e7d1f0101bd73095c8206792b6b
6
+ metadata.gz: e8e88407556f4748ff645a92b579f107cb57e1c35af35becd04229ee9d426526fe5e5b5e351630aa15c7ba3c81e4adf0a0570da6e8a66e6943e7bcb4029b4283
7
+ data.tar.gz: f18a0bbc3c709da85319bc249cba08e27dbc05bd3968bbea83cb37378d3a8c2b4323d3b3764dea9b1d8c01b8f3385ca053a273c05965f6bcc5694ea54962416b
@@ -660,7 +660,7 @@ puts 'no'
660
660
  end
661
661
 
662
662
  # Launch a Mimic browser.
663
- def self.mimic(mimic_profile_id)
663
+ def self.mimic(mimic_profile_id, load_timeout=DEFAULT_LOAD_TIMEOUT)
664
664
  #
665
665
  @@type = BlackStack::BrowserFactory::TYPE_MIMIC
666
666
  @@profile_name = mimic_profile_id
@@ -713,8 +713,8 @@ puts 'no'
713
713
  #res_2 = Net::HTTP.start(uri_2.host, uri_2.port, :use_ssl => true, :verify_mode => OpenSSL::SSL::VERIFY_NONE) {|http|
714
714
  # http.request(req_2)
715
715
  #}
716
- @@driver = Selenium::WebDriver.for(:remote, :url => url_2)
717
- @@driver.manage.timeouts.page_load = 360
716
+ @@driver = Selenium::WebDriver.for(:remote, :url =l> url_2)
717
+ @@driver.manage.timeouts.page_load = load_timeout
718
718
  #bridge = @@driver.instance_variable_get(:@bridge)
719
719
  #service = bridge.instance_variable_get(:@service)
720
720
  #process = service.instance_variable_get(:@process)
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.35
4
+ version: 1.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi