selenium-webdriver 4.8.4 → 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:
|
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,3 +1,13 @@
|
|
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
|
+
|
1
11
|
4.8.4 (2023-03-28)
|
2
12
|
=========================
|
3
13
|
Ruby:
|
@@ -28,7 +28,7 @@ module Selenium
|
|
28
28
|
path ||= begin
|
29
29
|
SeleniumManager.driver_path(options)
|
30
30
|
rescue StandardError => e
|
31
|
-
WebDriver.logger.
|
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 <<
|
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
|