selenium-webdriver 4.8.5 → 4.8.6
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 +4 -4
- data/CHANGES +5 -1
- data/lib/selenium/webdriver/common/selenium_manager.rb +5 -5
- data/lib/selenium/webdriver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c69ba703c9453c083e2bbe503e91d8b97e7c2d01b2f3d9c951da889cba869ba
|
4
|
+
data.tar.gz: 424f8fdd62f259292559cf5e89dcea5de3a6463b8b73efe6127a7dde780fae22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7364197f821c41049983d4445f1e41a9d9200509f160af5df28bbb8e7e3195278990db0c2ab79f25d37f2d52f5cfba8c25cc15e3996e70007363904451e44f
|
7
|
+
data.tar.gz: c8ca6b72468be025a71afe7142979fba69f8d3b1652e2dc68c5db6de44b8b9aa3607b4345317c9be446247d4ce8b174c47a71f16499128a5935612b78436c142
|
data/CHANGES
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
+
4.8.6 (2023-03-29)
|
2
|
+
=========================
|
3
|
+
Ruby:
|
4
|
+
* Properly escape arguments passed to Selenium Manager
|
5
|
+
|
1
6
|
4.8.5 (2023-03-28)
|
2
7
|
=========================
|
3
8
|
Ruby:
|
4
9
|
* Wrapping browser name in quotes when calling Selenium Manager
|
5
10
|
|
6
|
-
|
7
11
|
4.8.4 (2023-03-28)
|
8
12
|
=========================
|
9
13
|
Ruby:
|
@@ -40,18 +40,18 @@ module Selenium
|
|
40
40
|
raise ArgumentError, "SeleniumManager requires a WebDriver::Options instance, not #{options.inspect}"
|
41
41
|
end
|
42
42
|
|
43
|
-
command = [binary, '--browser',
|
43
|
+
command = [binary, '--browser', options.browser_name, '--output', 'json']
|
44
44
|
if options.browser_version
|
45
45
|
command << '--browser-version'
|
46
46
|
command << options.browser_version
|
47
47
|
end
|
48
48
|
if options.respond_to?(:binary) && !options.binary.nil?
|
49
49
|
command << '--browser-path'
|
50
|
-
command <<
|
50
|
+
command << options.binary
|
51
51
|
end
|
52
52
|
command << '--debug' if WebDriver.logger.debug?
|
53
53
|
|
54
|
-
location = run(command
|
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
|
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.
|
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-
|
13
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rexml
|