ds-gui-automation 0.2.30 → 0.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbd9cf6ca27df69a4eab7bf3704a8d4e46821ac7
4
- data.tar.gz: b225916b604fb2cf343848980050b3e3d1529f42
3
+ metadata.gz: c64ec778d898925227276687f64693f2d6415512
4
+ data.tar.gz: 6c54a61a51f8fe7aa191d7d90d023252d4f9e8ae
5
5
  SHA512:
6
- metadata.gz: f3a349625bb2b2d38970b01f97a03bc9fe5c091912c1657dc66b5bc187386fa26c86547be425e5d3530faeedaecc482c08aa99b9bc04e0bbdb53a2e25af304d9
7
- data.tar.gz: 826362fae38585132529d374b1012216f3c36b688519fb8c262863fe48ee3a789b79c2cf87b034c9007506deab0f149beb70ca4df78abba44e66dbda706bed5d
6
+ metadata.gz: d46691e46671bbd5c049a448b7689ac0018686a55a8a31af90e6df9992a1c87dd60d314711152d2ec9747cb24a1e89e70bb89064549194940d3c6890e13f38f0
7
+ data.tar.gz: 05e711faf045ae9a334b3258869cb66cbed8718c8a8076e5954c863bdf70ce808a441609645c6e3270e35686c10071ab14631308f10d194ff095f15aaad6ce85
@@ -61,6 +61,8 @@ MAX_RETRIES = params['max_retries'] || 3
61
61
  # PROVIDER_ID = params['environment']['providerId']
62
62
  ## END OF SET-UP FROM HENRY
63
63
 
64
+ user_agent = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 bot'
65
+
64
66
  client = Selenium::WebDriver::Remote::Http::Default.new
65
67
 
66
68
  client.timeout = 3000
@@ -75,7 +77,7 @@ sleep 3
75
77
 
76
78
  system "ps aux | grep firefox | awk '{ print $2 }' | xargs -I {} kill -9 {}"
77
79
 
78
- browser_outside = Watir::Browser.new BROWSER.to_sym, :http_client => client
80
+ browser_outside = Watir::Browser.new BROWSER.to_sym, :http_client => client, switches: ["--user-agent=#{user_agent}"]
79
81
  browser_outside.cookies.clear
80
82
 
81
83
  maximized = false
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.2.30"
2
+ VERSION = "0.2.31"
3
3
  end
@@ -94,7 +94,7 @@ module Results
94
94
  DestinationServicesGUI::Results.alert_handle
95
95
 
96
96
  while browser.div(:class, 'ds-results-desktop-loader').present?
97
- sleep 5
97
+ sleep 1
98
98
  end
99
99
 
100
100
  current_item_number = browser.divs(:class, 'ds-results-cluster').size
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.30
4
+ version: 0.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santiago Ochoa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container