Skip to content

Commit 593ade0

Browse files
committed
pristine 4.26.0 version
1 parent 349efbb commit 593ade0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1444
-602
lines changed

CHANGES

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,168 @@
1+
4.26.0 (2024-10-28)
2+
=========================
3+
* Add CDP for Chrome 130 and remove 127
4+
* Add missing RBS methods (#14621)
5+
* Update Ruby BiDi script structs to match spec
6+
* Add RBS type support for BiDi related classes (#14611)
7+
8+
4.25.0 (2024-09-19)
9+
=========================
10+
* Add CDP for Chrome 129 and remove 126
11+
* Fix add_cause method not being able to process an array of hashes (#14433)
12+
* replace `fedcm` links with new ones (#14478)
13+
* Allow driver path to be set using ENV variables (#14287)
14+
15+
4.24.0 (2024-08-23)
16+
=========================
17+
* Deprecate WebStorage JS methods (#14276)
18+
* BUGFIX: Add stamp to nightly build (#14320)
19+
* Add timeout and tests for curb, also added the gem curb that was not part of selenium (#14285)
20+
* Add CDP for Chrome 128 and remove 125
21+
22+
4.23.0 (2024-07-18)
23+
=========================
24+
* Add FedCM support to the ruby selenium client (#13796)
25+
* Add URLs constant to update error messages (#14174)
26+
* Update selenium manager types (#14189)
27+
* Add backtrace locations and cause to errors (#14170)
28+
* Add CDP for Chrome 127 and remove 124
29+
30+
4.22.0 (2024-06-20)
31+
=========================
32+
33+
* Force UTF-8 encoding on logger (see #6937)
34+
* Don't crash when ChildProcess is already killed (see #14032)
35+
* Manage bidi instance on the bridge not the driver (#14071)
36+
* Implement High Level Logging API with BiDi (#14073)
37+
* Fix bug with message deletion in Guard class
38+
* Change output for Guard class
39+
* Implement toggle for BiDi and Classic implementations (#14092)
40+
* Add preference to enable CDP in Firefox by default (#14091)
41+
* Add support for the w3c silent option for the ruby library (#14152)
42+
* Add CDP for Chrome 126 and remove 123
43+
44+
4.21.1 (2024-05-16)
45+
=========================
46+
47+
* Fixed missing Chrome binary error in Rails system tests.
48+
49+
4.21.0 (2024-05-16)
50+
=========================
51+
52+
* Add CDP for Chrome 125 and remove 122
53+
* Initial extensibility points for Appium
54+
* Support registering extra headers in HTTP client
55+
* Support overriding User-Agent in HTTP client
56+
* Support registering extra bridge commands
57+
* Support overriding default locator conversion
58+
* Support registering custom finders for SearchContext
59+
* Support using custom element classes
60+
61+
4.20.1 (2024-04-25)
62+
=========================
63+
64+
* Returned accidentally removed DriverFinder.path and deprecated it.
65+
66+
4.20.0 (2024-04-24)
67+
=========================
68+
69+
* Add CDP for Chrome 124 and remove 121
70+
* Making Selenium Manager a thin wrapper (#13386)
71+
* This change has been made to make it easier to maintain and improve, the interface has
72+
changed and if users were invoking it, they might experience issues. Selenium Manager is
73+
still in beta and these type of changes are expected.
74+
75+
4.19.0 (2024-03-27)
76+
=========================
77+
78+
* Add CDP for Chrome 123 and remove 120
79+
* Avoid over-escaping browser path (#13632)
80+
* Add full RBS support (#13234)
81+
82+
4.18.1 (2024-02-19)
83+
=========================
84+
85+
* Add CDP for Chrome 122 and remove 119
86+
87+
4.18.0 (2024-02-19)
88+
=========================
89+
90+
* Update documentation link in readme (#13570)
91+
* make suggested updates from rubocop
92+
93+
4.17.0 (2024-01-22)
94+
=========================
95+
96+
* Logger defaults output to stderr instead of stdout
97+
* Fully support Chrome 120+ old headless mode (#13271)
98+
* Add ruby to Selenium Manager input for tracking (see #13288)
99+
* Define default command_list (fixes #13307)
100+
* Fix issues with incorrectly named edge browser
101+
* Check for whether driver supports full page screenshots to error (#12799)
102+
* Add CDP for Chrome 121 and remove 118
103+
104+
4.16.0 (2023-12-06)
105+
=========================
106+
107+
Ruby:
108+
* Add RBS files to Ruby (#12844)
109+
* Convert binary locations for cygwin (#12618)
110+
* Allow Selenium Manager to work with Unix (#13161)
111+
* Extend RBS support for logger and log entry (#13192)
112+
* Update rules_ruby to the latest version (#13235)
113+
114+
BiDi:
115+
* Released selenium-devtools 0.120.0 (supports CDP v85, v118, v119, v120)
116+
117+
Chrome:
118+
* Fix http proxy configuration for chrome (#13093)
119+
120+
Firefox:
121+
* Delete 'lock' file in FF profile (#13090)
122+
123+
4.15.0 (2023-11-01)
124+
=========================
125+
126+
* Do not set browser binary in selenium manager if it is an empty string (#12738)
127+
* Add flaky condition to guards to mark unreliable tests
128+
* Rake update needs to build latest grid for running remote tests
129+
* Add CDP v119 and remove v116
130+
* Implement file downloads (#12979)
131+
132+
4.14.0 (2023-10-09)
133+
=========================
134+
Ruby:
135+
* allow users to access the full script of the atom directly
136+
137+
BiDi:
138+
* Released selenium-devtools 0.118.0 (supports CDP v85, v116, v117, v118)
139+
140+
4.13.1 (2023-09-25)
141+
=========================
142+
Ruby:
143+
* Fix bug preventing logging chromedriver to file
144+
145+
4.13.0 (2023-09-25)
146+
=========================
147+
Ruby:
148+
* Fix bug preventing using performance logging with chromium
149+
* Allow users to set Selenium Manager path by environment variable (#12752)
150+
* Allow service to be started before the driver
151+
* remove deprecated driver extensions for location and network connection
152+
153+
BiDi:
154+
* Released selenium-devtools 0.117.0 (supports CDP v85, v115, v116, v117)
155+
156+
4.12.0 (2023-08-31)
157+
=========================
158+
Ruby:
159+
* Fix bug preventing good error messages in Selenium Manager when stdout empty
160+
* Fix bug with Firefox not loading net/http library by default (#12506)
161+
* Remove support for using capabilities in local drivers
162+
163+
BiDi:
164+
* Released selenium-devtools 0.116.0 (supports CDP v85, v114, v115, v116)
165+
1166
4.11.0 (2023-07-31)
2167
=========================
3168
Ruby:

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ Dir["#{__dir__}/*.gemspec"].each do |spec|
55
gemspec name: File.basename(spec, '.gemspec')
66
end
77

8+
gem 'curb', '~> 1.0.5', require: false, platforms: %i[mri mingw x64_mingw]
89
gem 'debug', '~> 1.7', require: false, platforms: %i[mri mingw x64_mingw]
10+
gem 'steep', '~> 1.5.0', require: false, platforms: %i[mri mingw x64_mingw]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2023 Software Freedom Conservancy (SFC)
190+
Copyright 2024 Software Freedom Conservancy (SFC)
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Copyright 2011-2023 Software Freedom Conservancy
1+
Copyright 2011-2024 Software Freedom Conservancy
22
Copyright 2004-2011 Selenium committers

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# selenium-webdriver
22

3-
This gem provides Ruby bindings for Selenium.
4-
5-
It's a fork from [selenium-webdriver 4.11.0 gem](https://rubygems.org/gems/selenium-webdriver/versions/4.11.0) updated to allow ruby 2.7. This update may not be stable, it's a temporary solution to use the new Selenium Manager that supports Chrome versions above 115 in applications that have not yet updated ruby to version 3.
6-
7-
# Selenium Webdriver
3+
This gem provides Ruby bindings for Selenium and supports MRI >= 3.0.
84

95
## Install
106

@@ -14,12 +10,12 @@ It's a fork from [selenium-webdriver 4.11.0 gem](https://rubygems.org/gems/selen
1410

1511
* https://rubygems.org/gems/selenium-webdriver
1612
* https://www.selenium.dev/selenium/docs/api/rb/index.html
17-
* https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings
13+
* https://www.selenium.dev/documentation/?tab=ruby
1814
* https://github.com/SeleniumHQ/selenium/issues
1915

2016
## License
2117

22-
Copyright 2009-2023 Software Freedom Conservancy
18+
Copyright 2009-2024 Software Freedom Conservancy
2319

2420
Licensed to the Software Freedom Conservancy (SFC) under one
2521
or more contributor license agreements. See the NOTICE file

bin/linux/selenium-manager

486 KB
Binary file not shown.

bin/macos/selenium-manager

3.9 MB
Binary file not shown.

bin/windows/selenium-manager.exe

231 KB
Binary file not shown.

lib/selenium/server.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def download_server(uri, destination)
183183
def initialize(jar, opts = {})
184184
raise Errno::ENOENT, jar unless File.exist?(jar)
185185

186+
@java = opts.fetch(:java, 'java')
186187
@jar = jar
187188
@host = '127.0.0.1'
188189
@role = opts.fetch(:role, 'standalone')
@@ -241,7 +242,7 @@ def process
241242
# extract any additional_args that start with -D as options
242243
properties = @additional_args.dup - @additional_args.delete_if { |arg| arg[/^-D/] }
243244
args = ['-jar', @jar, @role, '--port', @port.to_s]
244-
server_command = ['java'] + properties + args + @additional_args
245+
server_command = [@java] + properties + args + @additional_args
245246
cp = WebDriver::ChildProcess.build(*server_command)
246247

247248
if @log.is_a?(String)

lib/selenium/webdriver.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
require 'json'
2424
require 'set'
2525
require 'uri'
26+
require 'net/http'
2627

2728
require 'selenium/webdriver/atoms'
2829
require 'selenium/webdriver/common'
@@ -48,7 +49,7 @@ module WebDriver
4849
# @api private
4950

5051
def self.root
51-
@root ||= File.expand_path('..', __dir__)
52+
@root ||= File.expand_path('..', __dir__.to_s)
5253
end
5354

5455
#

0 commit comments

Comments
 (0)