selenium-webdriver 4.17.0 → 4.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +92 -0
  3. data/Gemfile +1 -0
  4. data/README.md +2 -2
  5. data/bin/linux/selenium-manager +0 -0
  6. data/bin/macos/selenium-manager +0 -0
  7. data/bin/windows/selenium-manager.exe +0 -0
  8. data/lib/selenium/server.rb +2 -1
  9. data/lib/selenium/webdriver/atoms/findElements.js +26 -26
  10. data/lib/selenium/webdriver/atoms/getAttribute.js +2 -2
  11. data/lib/selenium/webdriver/atoms/isDisplayed.js +24 -97
  12. data/lib/selenium/webdriver/bidi/log/javascript_log_entry.rb +1 -1
  13. data/lib/selenium/webdriver/bidi/log_handler.rb +63 -0
  14. data/lib/selenium/webdriver/bidi/log_inspector.rb +5 -1
  15. data/lib/selenium/webdriver/bidi/session.rb +7 -7
  16. data/lib/selenium/webdriver/bidi/struct.rb +44 -0
  17. data/lib/selenium/webdriver/bidi.rb +10 -0
  18. data/lib/selenium/webdriver/chrome/service.rb +1 -0
  19. data/lib/selenium/webdriver/chromium/driver.rb +1 -0
  20. data/lib/selenium/webdriver/common/child_process.rb +8 -2
  21. data/lib/selenium/webdriver/common/driver.rb +21 -15
  22. data/lib/selenium/webdriver/common/driver_extensions/has_bidi.rb +1 -1
  23. data/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb +55 -0
  24. data/lib/selenium/webdriver/common/driver_finder.rb +66 -14
  25. data/lib/selenium/webdriver/common/error.rb +21 -21
  26. data/lib/selenium/webdriver/common/fedcm/account.rb +50 -0
  27. data/lib/selenium/webdriver/common/fedcm/dialog.rb +74 -0
  28. data/lib/selenium/webdriver/common/fedcm.rb +27 -0
  29. data/lib/selenium/webdriver/common/interactions/pointer_cancel.rb +1 -1
  30. data/lib/selenium/webdriver/common/interactions/wheel_input.rb +1 -1
  31. data/lib/selenium/webdriver/common/local_driver.rb +8 -1
  32. data/lib/selenium/webdriver/common/logger.rb +2 -2
  33. data/lib/selenium/webdriver/common/manager.rb +1 -1
  34. data/lib/selenium/webdriver/common/options.rb +1 -1
  35. data/lib/selenium/webdriver/common/platform.rb +3 -1
  36. data/lib/selenium/webdriver/common/script.rb +45 -0
  37. data/lib/selenium/webdriver/common/search_context.rb +10 -2
  38. data/lib/selenium/webdriver/common/selenium_manager.rb +36 -73
  39. data/lib/selenium/webdriver/common/service.rb +11 -4
  40. data/lib/selenium/webdriver/common/socket_poller.rb +1 -1
  41. data/lib/selenium/webdriver/common/target_locator.rb +1 -2
  42. data/lib/selenium/webdriver/common/wait.rb +1 -1
  43. data/lib/selenium/webdriver/common/websocket_connection.rb +12 -0
  44. data/lib/selenium/webdriver/common.rb +4 -0
  45. data/lib/selenium/webdriver/devtools/network_interceptor.rb +1 -1
  46. data/lib/selenium/webdriver/edge/service.rb +1 -1
  47. data/lib/selenium/webdriver/firefox/options.rb +3 -0
  48. data/lib/selenium/webdriver/firefox/profile.rb +11 -5
  49. data/lib/selenium/webdriver/firefox/profiles_ini.rb +1 -1
  50. data/lib/selenium/webdriver/firefox/service.rb +1 -0
  51. data/lib/selenium/webdriver/ie/options.rb +3 -2
  52. data/lib/selenium/webdriver/ie/service.rb +1 -0
  53. data/lib/selenium/webdriver/remote/bidi_bridge.rb +44 -0
  54. data/lib/selenium/webdriver/remote/bridge/commands.rb +13 -1
  55. data/lib/selenium/webdriver/remote/bridge/locator_converter.rb +76 -0
  56. data/lib/selenium/webdriver/remote/bridge.rb +87 -46
  57. data/lib/selenium/webdriver/remote/capabilities.rb +1 -1
  58. data/lib/selenium/webdriver/remote/http/common.rb +21 -3
  59. data/lib/selenium/webdriver/remote/http/curb.rb +11 -5
  60. data/lib/selenium/webdriver/remote/response.rb +12 -19
  61. data/lib/selenium/webdriver/remote/server_error.rb +1 -1
  62. data/lib/selenium/webdriver/remote.rb +2 -1
  63. data/lib/selenium/webdriver/safari/service.rb +1 -1
  64. data/lib/selenium/webdriver/support/guards/guard.rb +8 -9
  65. data/lib/selenium/webdriver/version.rb +1 -1
  66. data/lib/selenium/webdriver.rb +1 -1
  67. data/selenium-webdriver.gemspec +9 -6
  68. metadata +70 -7
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.17.0
4
+ version: 4.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
8
8
  - Titus Fortner
9
9
  - Thomas Walpole
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-01-23 00:00:00.000000000 Z
13
+ date: 2024-10-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: base64
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0.2'
29
+ - !ruby/object:Gem::Dependency
30
+ name: logger
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '1.4'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.4'
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: rexml
31
45
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +94,20 @@ dependencies:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: '1.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: git
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.19'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.19'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: rack
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +156,20 @@ dependencies:
128
156
  requirements:
129
157
  - - "~>"
130
158
  - !ruby/object:Gem::Version
131
- version: '1.42'
159
+ version: '1.60'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 1.60.2
132
163
  type: :development
133
164
  prerelease: false
134
165
  version_requirements: !ruby/object:Gem::Requirement
135
166
  requirements:
136
167
  - - "~>"
137
168
  - !ruby/object:Gem::Version
138
- version: '1.42'
169
+ version: '1.60'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 1.60.2
139
173
  - !ruby/object:Gem::Dependency
140
174
  name: rubocop-performance
141
175
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +184,20 @@ dependencies:
150
184
  - - "~>"
151
185
  - !ruby/object:Gem::Version
152
186
  version: '1.15'
187
+ - !ruby/object:Gem::Dependency
188
+ name: rubocop-rake
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: 0.6.0
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: 0.6.0
153
201
  - !ruby/object:Gem::Dependency
154
202
  name: rubocop-rspec
155
203
  requirement: !ruby/object:Gem::Requirement
@@ -199,6 +247,9 @@ dependencies:
199
247
  - - "~>"
200
248
  - !ruby/object:Gem::Version
201
249
  version: 0.9.11
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ version: 0.9.36
202
253
  type: :development
203
254
  prerelease: false
204
255
  version_requirements: !ruby/object:Gem::Requirement
@@ -206,6 +257,9 @@ dependencies:
206
257
  - - "~>"
207
258
  - !ruby/object:Gem::Version
208
259
  version: 0.9.11
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: 0.9.36
209
263
  description: |2
210
264
  Selenium implements the W3C WebDriver protocol to automate popular browsers.
211
265
  It aims to mimic the behaviour of a real user as it interacts with the application's HTML.
@@ -242,9 +296,11 @@ files:
242
296
  - lib/selenium/webdriver/bidi/log/filter_by.rb
243
297
  - lib/selenium/webdriver/bidi/log/generic_log_entry.rb
244
298
  - lib/selenium/webdriver/bidi/log/javascript_log_entry.rb
299
+ - lib/selenium/webdriver/bidi/log_handler.rb
245
300
  - lib/selenium/webdriver/bidi/log_inspector.rb
246
301
  - lib/selenium/webdriver/bidi/navigate_result.rb
247
302
  - lib/selenium/webdriver/bidi/session.rb
303
+ - lib/selenium/webdriver/bidi/struct.rb
248
304
  - lib/selenium/webdriver/chrome.rb
249
305
  - lib/selenium/webdriver/chrome/driver.rb
250
306
  - lib/selenium/webdriver/chrome/features.rb
@@ -272,6 +328,7 @@ files:
272
328
  - lib/selenium/webdriver/common/driver_extensions/has_context.rb
273
329
  - lib/selenium/webdriver/common/driver_extensions/has_debugger.rb
274
330
  - lib/selenium/webdriver/common/driver_extensions/has_devtools.rb
331
+ - lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb
275
332
  - lib/selenium/webdriver/common/driver_extensions/has_file_downloads.rb
276
333
  - lib/selenium/webdriver/common/driver_extensions/has_launching.rb
277
334
  - lib/selenium/webdriver/common/driver_extensions/has_log_events.rb
@@ -287,6 +344,9 @@ files:
287
344
  - lib/selenium/webdriver/common/driver_finder.rb
288
345
  - lib/selenium/webdriver/common/element.rb
289
346
  - lib/selenium/webdriver/common/error.rb
347
+ - lib/selenium/webdriver/common/fedcm.rb
348
+ - lib/selenium/webdriver/common/fedcm/account.rb
349
+ - lib/selenium/webdriver/common/fedcm/dialog.rb
290
350
  - lib/selenium/webdriver/common/file_reaper.rb
291
351
  - lib/selenium/webdriver/common/html5/local_storage.rb
292
352
  - lib/selenium/webdriver/common/html5/session_storage.rb
@@ -321,6 +381,7 @@ files:
321
381
  - lib/selenium/webdriver/common/port_prober.rb
322
382
  - lib/selenium/webdriver/common/profile_helper.rb
323
383
  - lib/selenium/webdriver/common/proxy.rb
384
+ - lib/selenium/webdriver/common/script.rb
324
385
  - lib/selenium/webdriver/common/search_context.rb
325
386
  - lib/selenium/webdriver/common/selenium_manager.rb
326
387
  - lib/selenium/webdriver/common/service.rb
@@ -367,8 +428,10 @@ files:
367
428
  - lib/selenium/webdriver/ie/options.rb
368
429
  - lib/selenium/webdriver/ie/service.rb
369
430
  - lib/selenium/webdriver/remote.rb
431
+ - lib/selenium/webdriver/remote/bidi_bridge.rb
370
432
  - lib/selenium/webdriver/remote/bridge.rb
371
433
  - lib/selenium/webdriver/remote/bridge/commands.rb
434
+ - lib/selenium/webdriver/remote/bridge/locator_converter.rb
372
435
  - lib/selenium/webdriver/remote/capabilities.rb
373
436
  - lib/selenium/webdriver/remote/driver.rb
374
437
  - lib/selenium/webdriver/remote/features.rb
@@ -403,7 +466,7 @@ metadata:
403
466
  github_repo: ssh://github.com/SeleniumHQ/selenium
404
467
  source_code_uri: https://github.com/SeleniumHQ/selenium/tree/trunk/rb
405
468
  rubygems_mfa_required: 'true'
406
- post_install_message:
469
+ post_install_message:
407
470
  rdoc_options: []
408
471
  require_paths:
409
472
  - lib
@@ -419,7 +482,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
419
482
  version: 1.3.1
420
483
  requirements: []
421
484
  rubygems_version: 3.2.33
422
- signing_key:
485
+ signing_key:
423
486
  specification_version: 4
424
487
  summary: Selenium is a browser automation tool for automated testing of webapps and
425
488
  more