selenium-webdriver 2.45.0.dev → 2.45.0.dev2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -14,10 +14,10 @@ GEM
14
14
  builder (3.2.2)
15
15
  childprocess (0.5.5)
16
16
  ffi (~> 1.0, >= 1.0.11)
17
- ci_reporter (1.9.2)
17
+ ci_reporter (1.6.9)
18
18
  builder (>= 2.1.2)
19
- crack (0.4.2)
20
- safe_yaml (~> 1.0.0)
19
+ crack (0.4.1)
20
+ safe_yaml (~> 0.9.0)
21
21
  diff-lcs (1.2.5)
22
22
  ffi (1.9.6)
23
23
  multi_json (1.10.1)
@@ -31,10 +31,10 @@ GEM
31
31
  diff-lcs (>= 1.1.3, < 2.0)
32
32
  rspec-mocks (2.99.2)
33
33
  rubyzip (1.1.6)
34
- safe_yaml (1.0.3)
35
- webmock (1.18.0)
36
- addressable (>= 2.3.6)
37
- crack (>= 0.3.2)
34
+ safe_yaml (0.9.7)
35
+ webmock (1.7.10)
36
+ addressable (~> 2.2, > 2.2.5)
37
+ crack (>= 0.1.7)
38
38
  websocket (1.2.1)
39
39
 
40
40
  PLATFORMS
@@ -15,6 +15,12 @@
15
15
  "browser.shell.checkDefaultBrowser": false,
16
16
  "browser.tabs.warnOnClose": false,
17
17
  "browser.tabs.warnOnOpen": false,
18
+ "datareporting.healthreport.service.enabled": false,
19
+ "datareporting.healthreport.uploadEnabled": false,
20
+ "datareporting.healthreport.service.firstRun": false,
21
+ "datareporting.healthreport.logging.consoleEnabled": false,
22
+ "datareporting.policy.dataSubmissionEnabled": false,
23
+ "datareporting.policy.dataSubmissionPolicyAccepted": false,
18
24
  "devtools.errorconsole.enabled": true,
19
25
  "dom.disable_open_during_load": false,
20
26
  "extensions.autoDisableScopes": 10,
@@ -7,7 +7,7 @@ end
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "selenium-webdriver"
10
- s.version = "2.45.0.dev"
10
+ s.version = "2.45.0.dev2"
11
11
 
12
12
  s.authors = ["Jari Bakken"]
13
13
  s.email = "jari.bakken@gmail.com"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 7
5
- version: 2.45.0.dev
5
+ version: 2.45.0.dev2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jari Bakken
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2014-12-20 00:00:00 +01:00
13
+ date: 2015-01-13 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -188,7 +188,6 @@ files:
188
188
  - lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb
189
189
  - lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb
190
190
  - lib/selenium/webdriver/common/driver_extensions/has_location.rb
191
- - lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb
192
191
  - lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb
193
192
  - lib/selenium/webdriver/common/driver_extensions/has_session_id.rb
194
193
  - lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb
@@ -1,46 +0,0 @@
1
- module Selenium
2
- module WebDriver
3
- module DriverExtensions
4
- module HasNetworkConnection
5
- def network_connection_type
6
- connection_value = @bridge.getNetworkConnection
7
-
8
- # Convert connection value to type. In case the connection type is
9
- # not recognized return the connection value.
10
- case connection_value
11
- when 1
12
- :airplane_mode
13
- when 2
14
- :wifi
15
- when 4
16
- :data
17
- when 6
18
- :all
19
- when 0
20
- :none
21
- else
22
- connection_value
23
- end
24
- end
25
-
26
- def network_connection_type=(connection_type)
27
- # convert connection type to value
28
- connection_value = case connection_type
29
- when :airplane_mode
30
- 1
31
- when :wifi
32
- 2
33
- when :data
34
- 4
35
- when :all
36
- 6
37
- when :none
38
- 0
39
- end
40
-
41
- @bridge.setNetworkConnection connection_value
42
- end
43
- end
44
- end
45
- end
46
- end