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.
- checksums.yaml +4 -4
- data/lib/browserfactory.rb +3 -3
- 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: cfc6dad3cd9162542712a170642eb9a67e991f25
|
4
|
+
data.tar.gz: 1edcbb5b6f80528cc4cb00a734d186a6083ded2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8e88407556f4748ff645a92b579f107cb57e1c35af35becd04229ee9d426526fe5e5b5e351630aa15c7ba3c81e4adf0a0570da6e8a66e6943e7bcb4029b4283
|
7
|
+
data.tar.gz: f18a0bbc3c709da85319bc249cba08e27dbc05bd3968bbea83cb37378d3a8c2b4323d3b3764dea9b1d8c01b8f3385ca053a273c05965f6bcc5694ea54962416b
|
data/lib/browserfactory.rb
CHANGED
@@ -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
|
717
|
-
@@driver.manage.timeouts.page_load =
|
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)
|