selenium-webdriver 4.8.2 → 4.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89df774609a456df7ab08ce405cfc1fdbb5576d78551bbdecdb3bc31b09d83eb
4
- data.tar.gz: 0655f0bc97e7e78787cc8d3ca4d511504f90dcbebcf9112c2b577e809cb0f19a
3
+ metadata.gz: c644ddbe5035bb314db11fd26ac707eb3f9aab99175a50b78214b1cafa672808
4
+ data.tar.gz: 3d037d5e8b6c07c61c484cd45e3065e9e755b6331bfadf9980be54c5c87f262e
5
5
  SHA512:
6
- metadata.gz: f4388f9c9f129e642cbb7b01e5ba29b7fb232e21396e66c4e91720e746dfd3b8d515aadd7f2b5e51d79daa8cef4c60d14c01f2e017262d427cb4ef320bcbc896
7
- data.tar.gz: a5a2870b6e2000eb5734025821361546b0e81f06915f94fd290fa58fb0fe0e20b0ce3ac2ae3a1b1d5e0f8a29b4ad3e0798dd0820a033b347cd167825658f57fa
6
+ metadata.gz: 6ed3ac91be70eef9a1e2626ae7d35dece432089a20e3714d79a38c4c1f5944159787f835f42c796df1f528debccd453ec89f8470c655d366b0ca6ea6e9351d11
7
+ data.tar.gz: a3e49d3f778ec7f26d9d3d5e322cbcf15ada0aa5a2a048efddea90bce06aa1db91996afcb1e077da6bec5d7183c8e61ffa36d785923b3daba518e07eb06052bd
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ 4.8.3 (2023-03-26)
2
+ =========================
3
+ Ruby:
4
+ * Still need to use driver finder when using capabilities parameter
5
+ * Accommodate Driver Finder being sent something other than an Options instance
6
+
1
7
  4.8.2 (2023-03-24)
2
8
  =========================
3
9
  Ruby:
@@ -27,7 +27,7 @@ module Selenium
27
27
 
28
28
  path ||= begin
29
29
  SeleniumManager.driver_path(options)
30
- rescue Error::WebDriverError => e
30
+ rescue StandardError => e
31
31
  WebDriver.logger.debug("Unable obtain driver using Selenium Manager\n #{e.message}")
32
32
  nil
33
33
  end
@@ -42,6 +42,7 @@ module Selenium
42
42
  WebDriver.logger.deprecate("The :capabilities parameter for #{self.class}",
43
43
  ":options argument with an instance of #{self.class}",
44
44
  id: :capabilities)
45
+ service.executable_path ||= WebDriver::DriverFinder.path(capabilities, service.class)
45
46
  generate_capabilities(capabilities)
46
47
  else
47
48
  options ||= default_options
@@ -33,11 +33,11 @@ module Selenium
33
33
  # @param [Options] options browser options.
34
34
  # @return [String] the path to the correct driver.
35
35
  def driver_path(options)
36
- message = "driver for #{options.browser_name} not found; attempting to install with Selenium Manager"
36
+ message = 'applicable driver not found; attempting to install with Selenium Manager'
37
37
  WebDriver.logger.warn(message)
38
38
 
39
39
  unless options.is_a?(Options)
40
- raise ArgumentError, "SeleniumManager requires a WebDriver::Options instance, not a #{options.inspect}"
40
+ raise ArgumentError, "SeleniumManager requires a WebDriver::Options instance, not #{options.inspect}"
41
41
  end
42
42
 
43
43
  command = [binary, '--browser', options.browser_name, '--output', 'json']
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module WebDriver
22
- VERSION = '4.8.2'
22
+ VERSION = '4.8.3'
23
23
  end # WebDriver
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.2
4
+ version: 4.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-03-24 00:00:00.000000000 Z
13
+ date: 2023-03-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rexml