selenium-webdriver 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,10 @@
1
+ 3.5.1 (2017-08-15)
2
+ ==================
3
+
4
+ Ruby:
5
+ * Fixed a bug when Chrome/Firefox (and probably other) drivers could not be
6
+ started on JRuby (issue #4453).
7
+
1
8
  3.5.0 (2017-08-10)
2
9
  ==================
3
10
 
@@ -0,0 +1,56 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ selenium-webdriver (3.5.0)
5
+ childprocess (~> 0.5)
6
+ rubyzip (~> 1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.5.1)
12
+ public_suffix (~> 2.0, >= 2.0.2)
13
+ childprocess (0.7.0)
14
+ ffi (~> 1.0, >= 1.0.11)
15
+ crack (0.4.3)
16
+ safe_yaml (~> 1.0.0)
17
+ diff-lcs (1.3)
18
+ ffi (1.9.18)
19
+ ffi (1.9.18-x64-mingw32)
20
+ hashdiff (0.3.4)
21
+ public_suffix (2.0.5)
22
+ rack (1.6.8)
23
+ rspec (3.6.0)
24
+ rspec-core (~> 3.6.0)
25
+ rspec-expectations (~> 3.6.0)
26
+ rspec-mocks (~> 3.6.0)
27
+ rspec-core (3.6.0)
28
+ rspec-support (~> 3.6.0)
29
+ rspec-expectations (3.6.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.6.0)
32
+ rspec-mocks (3.6.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.6.0)
35
+ rspec-support (3.6.0)
36
+ rubyzip (1.2.1)
37
+ safe_yaml (1.0.4)
38
+ webmock (2.3.2)
39
+ addressable (>= 2.3.6)
40
+ crack (>= 0.3.2)
41
+ hashdiff
42
+ yard (0.9.9)
43
+
44
+ PLATFORMS
45
+ ruby
46
+ x64-mingw32
47
+
48
+ DEPENDENCIES
49
+ rack (~> 1.0)
50
+ rspec (~> 3.0)
51
+ selenium-webdriver!
52
+ webmock (~> 2.0)
53
+ yard (~> 0.9.9)
54
+
55
+ BUNDLED WITH
56
+ 1.15.3
@@ -92,7 +92,12 @@ module Selenium
92
92
  def build_process(*command)
93
93
  WebDriver.logger.debug("Executing Process #{command}")
94
94
  @process = ChildProcess.build(*command)
95
- @process.io.stdout = @process.io.stderr = WebDriver.logger.io if WebDriver.logger.debug?
95
+ if WebDriver.logger.debug?
96
+ @process.io.stdout = @process.io.stderr = WebDriver.logger.io
97
+ elsif Platform.jruby?
98
+ # Apparently we need to read the output of drivers on JRuby.
99
+ @process.io.stdout = @process.io.stderr = File.new(Platform.null_device, 'w')
100
+ end
96
101
 
97
102
  @process
98
103
  end
@@ -117,6 +122,7 @@ module Selenium
117
122
  def stop_process
118
123
  return if process_exited?
119
124
  @process.stop STOP_TIMEOUT
125
+ @process.io.stdout.close if Platform.jruby? && !WebDriver.logger.debug?
120
126
  end
121
127
 
122
128
  def stop_server
@@ -66,23 +66,23 @@ module Selenium
66
66
  # options.element_scroll_behavior = Selenium::WebDriver::IE::Options::SCROLL_BOTTOM
67
67
  # driver = Selenium::WebDriver.for(:ie, options: options)
68
68
  #
69
- # @param [Hash] options the pre-defined options
70
- # @option options [Array<String>] args
71
- # @option options [Integer] browser_attach_timeout
72
- # @option options [Integer] element_scroll_behavior Either SCROLL_TOP or SCROLL_BOTTOM
73
- # @option options [Boolean] full_page_screenshot
74
- # @option options [Boolean] ensure_clean_session
75
- # @option options [Integer] file_upload_dialog_timeout
76
- # @option options [Boolean] force_create_process_api
77
- # @option options [Boolean] force_shell_windows_api
78
- # @option options [Boolean] ignore_protected_mode_settings
79
- # @option options [Boolean] ignore_zoom_level
80
- # @option options [String] initial_browser_url
81
- # @option options [Boolean] native_events
82
- # @option options [Boolean] persistent_hover
83
- # @option options [Boolean] require_window_focus
84
- # @option options [Boolean] use_per_process_proxy
85
- # @option options [Boolean] validate_cookie_document_type
69
+ # @param [Hash] opts the pre-defined options
70
+ # @option opts [Array<String>] args
71
+ # @option opts [Integer] browser_attach_timeout
72
+ # @option opts [Integer] element_scroll_behavior Either SCROLL_TOP or SCROLL_BOTTOM
73
+ # @option opts [Boolean] full_page_screenshot
74
+ # @option opts [Boolean] ensure_clean_session
75
+ # @option opts [Integer] file_upload_dialog_timeout
76
+ # @option opts [Boolean] force_create_process_api
77
+ # @option opts [Boolean] force_shell_windows_api
78
+ # @option opts [Boolean] ignore_protected_mode_settings
79
+ # @option opts [Boolean] ignore_zoom_level
80
+ # @option opts [String] initial_browser_url
81
+ # @option opts [Boolean] native_events
82
+ # @option opts [Boolean] persistent_hover
83
+ # @option opts [Boolean] require_window_focus
84
+ # @option opts [Boolean] use_per_process_proxy
85
+ # @option opts [Boolean] validate_cookie_document_type
86
86
  #
87
87
 
88
88
  def initialize(**opts)
@@ -5,7 +5,7 @@ raise "cwd must be #{root} when reading gemspec" if root != Dir.pwd
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'selenium-webdriver'
8
- s.version = '3.5.0'
8
+ s.version = '3.5.1'
9
9
 
10
10
  s.authors = ['Alex Rodionov', 'Titus Fortner']
11
11
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.5.0
5
+ version: 3.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex Rodionov
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2017-08-10 00:00:00 -05:00
14
+ date: 2017-08-15 00:00:00 +07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -96,6 +96,7 @@ extra_rdoc_files: []
96
96
  files:
97
97
  - CHANGES
98
98
  - Gemfile
99
+ - Gemfile.lock
99
100
  - LICENSE
100
101
  - README.md
101
102
  - selenium-webdriver.gemspec