selenium-webdriver 4.8.3 → 4.8.6

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: c644ddbe5035bb314db11fd26ac707eb3f9aab99175a50b78214b1cafa672808
4
- data.tar.gz: 3d037d5e8b6c07c61c484cd45e3065e9e755b6331bfadf9980be54c5c87f262e
3
+ metadata.gz: 3c69ba703c9453c083e2bbe503e91d8b97e7c2d01b2f3d9c951da889cba869ba
4
+ data.tar.gz: 424f8fdd62f259292559cf5e89dcea5de3a6463b8b73efe6127a7dde780fae22
5
5
  SHA512:
6
- metadata.gz: 6ed3ac91be70eef9a1e2626ae7d35dece432089a20e3714d79a38c4c1f5944159787f835f42c796df1f528debccd453ec89f8470c655d366b0ca6ea6e9351d11
7
- data.tar.gz: a3e49d3f778ec7f26d9d3d5e322cbcf15ada0aa5a2a048efddea90bce06aa1db91996afcb1e077da6bec5d7183c8e61ffa36d785923b3daba518e07eb06052bd
6
+ metadata.gz: ee7364197f821c41049983d4445f1e41a9d9200509f160af5df28bbb8e7e3195278990db0c2ab79f25d37f2d52f5cfba8c25cc15e3996e70007363904451e44f
7
+ data.tar.gz: c8ca6b72468be025a71afe7142979fba69f8d3b1652e2dc68c5db6de44b8b9aa3607b4345317c9be446247d4ce8b174c47a71f16499128a5935612b78436c142
data/CHANGES CHANGED
@@ -1,3 +1,18 @@
1
+ 4.8.6 (2023-03-29)
2
+ =========================
3
+ Ruby:
4
+ * Properly escape arguments passed to Selenium Manager
5
+
6
+ 4.8.5 (2023-03-28)
7
+ =========================
8
+ Ruby:
9
+ * Wrapping browser name in quotes when calling Selenium Manager
10
+
11
+ 4.8.4 (2023-03-28)
12
+ =========================
13
+ Ruby:
14
+ * Update the selenium-manager versions to fix an IE naming issue (#11828)
15
+
1
16
  4.8.3 (2023-03-26)
2
17
  =========================
3
18
  Ruby:
Binary file
Binary file
Binary file
@@ -28,7 +28,7 @@ module Selenium
28
28
  path ||= begin
29
29
  SeleniumManager.driver_path(options)
30
30
  rescue StandardError => e
31
- WebDriver.logger.debug("Unable obtain driver using Selenium Manager\n #{e.message}")
31
+ WebDriver.logger.warn("Unable obtain driver using Selenium Manager\n #{e.message}")
32
32
  nil
33
33
  end
34
34
  msg = "Unable to locate the #{klass::EXECUTABLE} executable; for more information on how to install drivers, " \
@@ -47,11 +47,11 @@ module Selenium
47
47
  end
48
48
  if options.respond_to?(:binary) && !options.binary.nil?
49
49
  command << '--browser-path'
50
- command << "\"#{options.binary.gsub('\ ', ' ').gsub(' ', '\ ')}\""
50
+ command << options.binary
51
51
  end
52
52
  command << '--debug' if WebDriver.logger.debug?
53
53
 
54
- location = run(command.join(' '))
54
+ location = run(*command)
55
55
  WebDriver.logger.debug("Driver found at #{location}")
56
56
  Platform.assert_executable location
57
57
 
@@ -81,11 +81,11 @@ module Selenium
81
81
  end
82
82
  end
83
83
 
84
- def run(command)
84
+ def run(*command)
85
85
  WebDriver.logger.debug("Executing Process #{command}")
86
86
 
87
87
  begin
88
- stdout, stderr, status = Open3.capture3(command)
88
+ stdout, stderr, status = Open3.capture3(*command)
89
89
  json_output = stdout.empty? ? nil : JSON.parse(stdout)
90
90
  result = json_output&.dig('result', 'message')
91
91
  rescue StandardError => e
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module WebDriver
22
- VERSION = '4.8.3'
22
+ VERSION = '4.8.6'
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.3
4
+ version: 4.8.6
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-27 00:00:00.000000000 Z
13
+ date: 2023-03-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rexml