selenium-webdriver 4.43.0 → 4.44.0
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 +6 -0
- data/README.md +43 -23
- data/bin/linux/selenium-manager +0 -0
- data/bin/macos/selenium-manager +0 -0
- data/bin/windows/selenium-manager.exe +0 -0
- data/lib/selenium/webdriver/common/virtual_authenticator/credential.rb +1 -1
- data/lib/selenium/webdriver/firefox/service.rb +22 -12
- 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: 338c4f4b065ecf290be0ab172218f7acddf22b3cab15e97c00de530b5aa49074
|
|
4
|
+
data.tar.gz: bb8c3bb3424d3e82292fabf82f205bf990b86bb0e3a8c0412416ee2070d0bf6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e46ddc09ebbbba3d64acf7e283134e4e4d21ec8452b7cc94b44589a7522802fd9f1b9c25d25b93b9d17274f8d3affcf9381f365a5dc92e90657042a98ed00da2
|
|
7
|
+
data.tar.gz: 991177266a82f9486eafde5f04545618b4df1b0ce708904193c80f25859616228c72b28fed13d829a81f641b012172379bd62d35dcbdb38bbcb6adaeda7ff7fd
|
data/CHANGES
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
4.44.0 (2026-05-12)
|
|
2
|
+
=========================
|
|
3
|
+
* Support CDP versions: v146, v147, v148
|
|
4
|
+
* Modern Firefox does not like both the `-v` and `--log` flags at the same time (#17412)
|
|
5
|
+
* Fix credential issue with private key (#17188)
|
|
6
|
+
|
|
1
7
|
4.43.0 (2026-04-09)
|
|
2
8
|
=========================
|
|
3
9
|
* Support CDP versions: v145, v146, v147
|
data/README.md
CHANGED
|
@@ -1,34 +1,54 @@
|
|
|
1
1
|
# selenium-webdriver
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Ruby language bindings for [Selenium WebDriver](https://www.selenium.dev).
|
|
4
|
+
Selenium automates browsers for testing and web-based task automation.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
Supports MRI >= 3.2.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## Installation
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
```bash
|
|
11
|
+
gem install selenium-webdriver
|
|
12
|
+
```
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
* https://www.selenium.dev/selenium/docs/api/rb/index.html
|
|
13
|
-
* https://www.selenium.dev/documentation/?tab=ruby
|
|
14
|
-
* https://github.com/SeleniumHQ/selenium/issues
|
|
14
|
+
## Quick Start
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
```ruby
|
|
17
|
+
require "selenium-webdriver"
|
|
18
|
+
|
|
19
|
+
driver = Selenium::WebDriver.for :chrome
|
|
20
|
+
begin
|
|
21
|
+
driver.get "https://www.selenium.dev"
|
|
22
|
+
puts driver.title
|
|
23
|
+
ensure
|
|
24
|
+
driver.quit
|
|
25
|
+
end
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Selenium Manager automatically handles browser driver installation — no manual driver setup required.
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
- [Getting Started](https://www.selenium.dev/documentation/webdriver/getting_started/)
|
|
33
|
+
- [Ruby API Docs](https://www.selenium.dev/selenium/docs/api/rb/index.html)
|
|
34
|
+
- [Selenium Manager](https://www.selenium.dev/documentation/selenium_manager/)
|
|
35
|
+
- [Selenium Grid](https://www.selenium.dev/documentation/grid/)
|
|
17
36
|
|
|
18
|
-
|
|
37
|
+
## Support
|
|
19
38
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
distributed with this work for additional information
|
|
23
|
-
regarding copyright ownership. The SFC licenses this file
|
|
24
|
-
to you under the Apache License, Version 2.0 (the
|
|
25
|
-
"License"); you may not use this file except in compliance
|
|
26
|
-
with the License. You may obtain a copy of the License at
|
|
39
|
+
- [Selenium Chat](https://www.selenium.dev/support/#ChatRoom)
|
|
40
|
+
- [GitHub Issues](https://github.com/SeleniumHQ/selenium/issues)
|
|
27
41
|
|
|
28
|
-
|
|
42
|
+
## Contributing
|
|
43
|
+
|
|
44
|
+
Contributions are welcome via [GitHub](https://github.com/SeleniumHQ/selenium/) pull requests.
|
|
45
|
+
See the [source code](https://github.com/SeleniumHQ/selenium/tree/trunk/rb) for this binding.
|
|
46
|
+
|
|
47
|
+
## Links
|
|
48
|
+
|
|
49
|
+
- [RubyGems](https://rubygems.org/gems/selenium-webdriver)
|
|
50
|
+
- [Documentation](https://www.selenium.dev/documentation/?tab=ruby)
|
|
51
|
+
|
|
52
|
+
## License
|
|
29
53
|
|
|
30
|
-
|
|
31
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
32
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
33
|
-
See the License for the specific language governing permissions and
|
|
34
|
-
limitations under the License.
|
|
54
|
+
Licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
data/bin/linux/selenium-manager
CHANGED
|
Binary file
|
data/bin/macos/selenium-manager
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -47,7 +47,7 @@ module Selenium
|
|
|
47
47
|
new(id: decode(opts['credentialId']),
|
|
48
48
|
resident_credential: opts['isResidentCredential'],
|
|
49
49
|
rp_id: opts['rpId'],
|
|
50
|
-
private_key: opts['privateKey'],
|
|
50
|
+
private_key: decode(opts['privateKey']),
|
|
51
51
|
sign_count: opts['signCount'],
|
|
52
52
|
user_handle: user_handle)
|
|
53
53
|
end
|
|
@@ -33,25 +33,35 @@ module Selenium
|
|
|
33
33
|
args << '0'
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
if ENV.key?('SE_DEBUG')
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
configure_debug_args(args) if ENV.key?('SE_DEBUG')
|
|
37
|
+
|
|
38
|
+
super
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def launch
|
|
42
|
+
configure_debug_args(args) if ENV.key?('SE_DEBUG')
|
|
40
43
|
|
|
41
44
|
super
|
|
42
45
|
end
|
|
43
46
|
|
|
44
47
|
private
|
|
45
48
|
|
|
46
|
-
def
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
args.
|
|
53
|
-
|
|
49
|
+
def configure_debug_args(args)
|
|
50
|
+
# An explicit geckodriver log setting is more specific than Selenium's
|
|
51
|
+
# generic SE_DEBUG fallback, so preserve it and skip adding `-v`.
|
|
52
|
+
if args.any? { |arg| arg.start_with?('--log') }
|
|
53
|
+
warn_explicit_log_preference unless @log_preference_warned
|
|
54
|
+
@log_preference_warned = true
|
|
55
|
+
args.reject! { |arg| arg.start_with?('-v') }
|
|
56
|
+
return
|
|
54
57
|
end
|
|
58
|
+
|
|
59
|
+
args << '-v' unless args.any? { |arg| /\A-v+\z/.match?(arg) }
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def warn_explicit_log_preference
|
|
63
|
+
WebDriver.logger.warn('SE_DEBUG is set; preserving user-specified geckodriver --log setting instead of ' \
|
|
64
|
+
'adding -v', id: :se_debug)
|
|
55
65
|
end
|
|
56
66
|
end # Service
|
|
57
67
|
end # Firefox
|
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.
|
|
4
|
+
version: 4.44.0
|
|
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: 2026-
|
|
13
|
+
date: 2026-05-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: base64
|