selenium-webdriver 4.21.0 → 4.21.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f5e5266f21804cd7520e61a6036171a3bda203460d944ac61cfd324283f72ae
4
- data.tar.gz: 8a58672a580239e27c909e781b16ff588f216f535dda5e495eff5123224e36b2
3
+ metadata.gz: b167c7575b53791dfd989aae9c4ba8375661ff7c43fe343c4f4234673f8f6ba0
4
+ data.tar.gz: cc520cbd925b221a24e38547b15101bbf68812989affaf7435534f96099f7bc4
5
5
  SHA512:
6
- metadata.gz: 78473145c4ce27a7acf22c58e6c204f7beac53b47a3b18139bb895c08c5d1da90ec5ac558bab429f5284604bba717415be0d8606bb298a68278a22a57947a546
7
- data.tar.gz: b1ae030703351b2b799881b041c9554e0c23c8cfc60a6e8eb32e7f679a7ea23f1c72c7cdbca203b2830439e2488a1ff56c6763df960f8eb873f08356f79ccf91
6
+ metadata.gz: 7313dfdf491d92732485821260da007ad0b63bd5570e9c5623c7fc6dfdba0b14fdddd6293d62c7e30b31610ca986a7c17291174091e1d3ffb7d3dee81caaeffe
7
+ data.tar.gz: 63a335b0a954e00c75cee80f9c2129360e1542b9d1d7528b461d51b5840935457a88a3528114f29f146949cf273581143dc1eaa8aefd6b479a3c81e0d3d0cc1f
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ 4.21.1 (2024-05-16)
2
+ =========================
3
+
4
+ * Fixed missing Chrome binary error in Rails system tests.
5
+
1
6
  4.21.0 (2024-05-16)
2
7
  =========================
3
8
 
@@ -59,7 +59,14 @@ module Selenium
59
59
  formatted = {driver_path: Platform.cygwin_path(output['driver_path'], only_cygwin: true),
60
60
  browser_path: Platform.cygwin_path(output['browser_path'], only_cygwin: true)}
61
61
  Platform.assert_executable(formatted[:driver_path])
62
- Platform.assert_executable(formatted[:browser_path])
62
+
63
+ browser_path = formatted[:browser_path]
64
+ Platform.assert_executable(browser_path)
65
+ if @options.respond_to?(:binary) && @options.binary.nil?
66
+ @options.binary = browser_path
67
+ @options.browser_version = nil
68
+ end
69
+
63
70
  formatted
64
71
  end
65
72
  rescue StandardError => e
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module WebDriver
22
- VERSION = '4.21.0'
22
+ VERSION = '4.21.1'
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.21.0
4
+ version: 4.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov