selenium-webdriver 4.51.0 → 4.53.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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +26 -0
  3. data/Gemfile +14 -0
  4. data/README.md +20 -0
  5. data/bin/linux-arm64/selenium-manager +0 -0
  6. data/bin/linux-x86_64/selenium-manager +0 -0
  7. data/bin/macos/selenium-manager +0 -0
  8. data/bin/selenium-manager-THIRD-PARTY-NOTICES.txt +620 -263
  9. data/bin/selenium-manager.cdx.json +1187 -1180
  10. data/bin/windows/selenium-manager.exe +0 -0
  11. data/lib/selenium/server.rb +27 -75
  12. data/lib/selenium/webdriver/atoms/findElements.js +960 -250
  13. data/lib/selenium/webdriver/atoms/getAttribute.js +153 -127
  14. data/lib/selenium/webdriver/atoms/isDisplayed.js +433 -364
  15. data/lib/selenium/webdriver/atoms.rb +4 -1
  16. data/lib/selenium/webdriver/bidi/protocol/bluetooth.rb +6 -6
  17. data/lib/selenium/webdriver/bidi/protocol/browser.rb +21 -9
  18. data/lib/selenium/webdriver/bidi/protocol/browsing_context.rb +109 -39
  19. data/lib/selenium/webdriver/bidi/protocol/emulation.rb +89 -44
  20. data/lib/selenium/webdriver/bidi/protocol/input.rb +95 -31
  21. data/lib/selenium/webdriver/bidi/protocol/log.rb +4 -4
  22. data/lib/selenium/webdriver/bidi/protocol/moz_debugging.rb +12 -10
  23. data/lib/selenium/webdriver/bidi/protocol/moz_profiler.rb +4 -4
  24. data/lib/selenium/webdriver/bidi/protocol/network.rb +82 -39
  25. data/lib/selenium/webdriver/bidi/protocol/permissions.rb +3 -0
  26. data/lib/selenium/webdriver/bidi/protocol/script.rb +38 -24
  27. data/lib/selenium/webdriver/bidi/protocol/session.rb +80 -8
  28. data/lib/selenium/webdriver/bidi/protocol/storage.rb +3 -3
  29. data/lib/selenium/webdriver/bidi/protocol/user_agent_client_hints.rb +3 -3
  30. data/lib/selenium/webdriver/bidi/protocol/web_extension.rb +17 -9
  31. data/lib/selenium/webdriver/bidi/serialization/record.rb +66 -24
  32. data/lib/selenium/webdriver/bidi/serialization.rb +2 -2
  33. data/lib/selenium/webdriver/bidi/support/bidi_generate.rb +228 -150
  34. data/lib/selenium/webdriver/common/child_process.rb +3 -2
  35. data/lib/selenium/webdriver/common/client_config.rb +4 -1
  36. data/lib/selenium/webdriver/common/driver_finder.rb +5 -2
  37. data/lib/selenium/webdriver/common/service.rb +6 -2
  38. data/lib/selenium/webdriver/common/service_manager.rb +2 -0
  39. data/lib/selenium/webdriver/common/websocket_connection.rb +59 -18
  40. data/lib/selenium/webdriver/remote/http/default.rb +17 -1
  41. data/lib/selenium/webdriver/safari/service.rb +1 -1
  42. data/lib/selenium/webdriver/version.rb +1 -1
  43. data/selenium-webdriver.gemspec +0 -12
  44. metadata +6 -163
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 765310e83c187b74431dc17938fe07e651840e77b5e41ac5ca2cc72857766f22
4
- data.tar.gz: 8ae793ce3178abcbc6b05db5d67f67a9a3e88f9f5cfb4462e231ba9db8f86b5e
3
+ metadata.gz: dc8e985cef1badd647297c3f98fb6a22d0593ffd0149cceebdfa7a91f2b6c224
4
+ data.tar.gz: bc706d3fbc654cdbd003e2bdf53c516db041140d415679ec2dad997be484bc59
5
5
  SHA512:
6
- metadata.gz: c3598a8f995410151be4610e6dff87bcf0a07b668323077b81854fd47b0dacc92aab3206d53c964732ee9e4f2da9c004bc162c806737cfa5cfa6614f17e46d5a
7
- data.tar.gz: 4f4228f742069110ea18d80d5636cd8502b24ace97b8fe2af22b26e2fce6acbc96cde5740fa60213ceae5c01c5d480bb013aad7b691f5edded95cae10630b3d8
6
+ metadata.gz: e679c65cf8f925802548296f1a9caaae12679edee9ec0c8d7018c12e151ddbf27b5c8abaf48ff48846f67c1038275ecefea20e8b5396d39ea67c5b7a715bc35e
7
+ data.tar.gz: bc7a2762bc7751a5f1664fe5fa3af05ea3d55966f03a2d21b22259f0c44df8723e5f4d3f6b045836c593eab40d8dc4bfb49ae927bed0975bdc286c4f8149ec31
data/CHANGES CHANGED
@@ -1,3 +1,29 @@
1
+ 4.53.0 (2026-11-17)
2
+ =========================
3
+ * Support CDP versions: v155, v156, v157
4
+ * download the Server jar with Selenium Manager instead of the GitHub API (#18245)
5
+ * Allocate websocket command ids atomically (#18262)
6
+ * add the accessibility snapshot atom and the binding methods (#18232)
7
+ * [build] Automated Browser Version Update (major) with CDP (#18278)
8
+ * Allow to set environment variables when staring a browser (#17395)
9
+ * [build] Automated CDDL Spec Update (#18248)
10
+ * Remove the accessibility snapshot client implementations (#18291)
11
+
12
+ 4.52.0 (2026-10-29)
13
+ =========================
14
+ * Support CDP versions: v154, v155, v156
15
+ * Do not pass a bare --proxy to Selenium Manager (#18150)
16
+ * [build] Automated CDDL Spec Update (#18144)
17
+ * deprecate current behavior of ignoring Grid certificates on HTTPS connections (#18153)
18
+ * generate version.rb from the root version.bzl so tests do not read the version (#18164)
19
+ * fix atoms outside Bazel and add local_dev for using a local checkout (#18183)
20
+ * type vendor-declared BiDi fields instead of making extended types extensible (#18190)
21
+ * check each BiDi list element against its declared type (#18196)
22
+ * hold BiDi numbers to their declared ranges (#18198)
23
+ * [build] Automated Browser Version Update (major) with CDP (#18214)
24
+ * raise on unverified Grid certificates instead of falling back to VERIFY_NONE (#18223)
25
+ * [bidi] Eliminate sleep-based polling for websocket command response (#18231)
26
+
1
27
  4.51.0 (2026-10-09)
2
28
  =========================
3
29
  * Support CDP versions: v153, v154, v155
data/Gemfile CHANGED
@@ -7,3 +7,17 @@ end
7
7
 
8
8
  gem 'debug', '~> 1.7', require: false, platforms: %i[mri mingw x64_mingw]
9
9
  gem 'steep', '~> 2.0', require: false, platforms: %i[mri mingw x64_mingw]
10
+
11
+ group :development do
12
+ gem 'git', '~> 1.19'
13
+ gem 'rack', '~> 2.0'
14
+ gem 'rake', '~> 13.0'
15
+ gem 'rspec', '~> 3.0'
16
+ gem 'rubocop', '~> 1.75'
17
+ gem 'rubocop-performance', '~> 1.25'
18
+ gem 'rubocop-rake', '~> 0.7'
19
+ gem 'rubocop-rspec', '~> 3.5'
20
+ gem 'webmock', '~> 3.5'
21
+ gem 'webrick', '~> 1.7'
22
+ gem 'yard', '~> 0.9.11', '>= 0.9.36'
23
+ end
data/README.md CHANGED
@@ -34,6 +34,26 @@ Selenium Manager automatically handles browser driver installation — no manual
34
34
  - [Selenium Manager](https://www.selenium.dev/documentation/selenium_manager/)
35
35
  - [Selenium Grid](https://www.selenium.dev/documentation/grid/)
36
36
 
37
+ ## Using a Local Checkout
38
+
39
+ To try unreleased changes from another project:
40
+
41
+ 1. Install [Bazelisk](https://github.com/bazelbuild/bazelisk) and the other [build requirements](https://github.com/SeleniumHQ/selenium#installing)
42
+ 2. Navigate to the root of your `selenium` checkout
43
+ 3. Run `./go rb:local_dev` (`go.bat rb:local_dev` on Windows); rerun it after pulling changes
44
+
45
+ Point the project's Gemfile at the checkout:
46
+
47
+ ```ruby
48
+ gem 'selenium-webdriver', path: '/path/to/selenium/rb'
49
+ ```
50
+
51
+ Then require `local_dev` in place of `selenium-webdriver`, so the atoms, CDP code, and Selenium Manager come from what Bazel built:
52
+
53
+ ```ruby
54
+ require 'selenium/webdriver/local_dev'
55
+ ```
56
+
37
57
  ## Support
38
58
 
39
59
  - [Selenium Chat](https://www.selenium.dev/support/#ChatRoom)
Binary file
Binary file
Binary file