selenium-devtools 0.92.0 → 0.93.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 (98) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v90 → v93}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v91 → v93}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v91 → v93}/application_cache.rb +2 -2
  5. data/lib/selenium/devtools/{v90 → v93}/audits.rb +2 -2
  6. data/lib/selenium/devtools/{v90 → v93}/background_service.rb +2 -2
  7. data/lib/selenium/devtools/{v91 → v93}/browser.rb +2 -2
  8. data/lib/selenium/devtools/{v91 → v93}/cache_storage.rb +2 -2
  9. data/lib/selenium/devtools/{v91 → v93}/cast.rb +2 -2
  10. data/lib/selenium/devtools/{v91 → v93}/console.rb +2 -2
  11. data/lib/selenium/devtools/{v90 → v93}/css.rb +9 -2
  12. data/lib/selenium/devtools/{v90 → v93}/database.rb +2 -2
  13. data/lib/selenium/devtools/{v91 → v93}/debugger.rb +2 -2
  14. data/lib/selenium/devtools/{v91 → v93}/device_orientation.rb +2 -2
  15. data/lib/selenium/devtools/{v90 → v93}/dom.rb +8 -2
  16. data/lib/selenium/devtools/{v90 → v93}/dom_debugger.rb +2 -2
  17. data/lib/selenium/devtools/{v91 → v93}/dom_snapshot.rb +6 -4
  18. data/lib/selenium/devtools/{v90 → v93}/dom_storage.rb +2 -2
  19. data/lib/selenium/devtools/{v91 → v93}/emulation.rb +2 -2
  20. data/lib/selenium/devtools/{v91 → v93}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v91 → v93}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v90 → v93}/heap_profiler.rb +8 -6
  23. data/lib/selenium/devtools/{v90 → v93}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v91 → v93}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v90 → v93}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v90 → v93}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v90 → v93}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v91 → v93}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v91 → v93}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v90 → v93}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v91 → v93}/network.rb +6 -8
  32. data/lib/selenium/devtools/{v91 → v93}/overlay.rb +7 -2
  33. data/lib/selenium/devtools/{v91 → v93}/page.rb +6 -4
  34. data/lib/selenium/devtools/{v90 → v93}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v91 → v93}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v91 → v93}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v91 → v93}/runtime.rb +5 -4
  38. data/lib/selenium/devtools/{v91 → v93}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v90 → v93}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v90 → v93}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v91 → v93}/storage.rb +2 -2
  42. data/lib/selenium/devtools/{v90 → v93}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v90 → v93}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v90 → v93}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v91 → v93}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v90 → v93}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v90 → v93}/web_authn.rb +2 -2
  48. data/lib/selenium/devtools/v93.rb +1 -0
  49. data/lib/selenium/devtools/version.rb +1 -1
  50. metadata +49 -96
  51. data/lib/selenium/devtools/v90/animation.rb +0 -94
  52. data/lib/selenium/devtools/v90/application_cache.rb +0 -60
  53. data/lib/selenium/devtools/v90/browser.rb +0 -124
  54. data/lib/selenium/devtools/v90/cache_storage.rb +0 -69
  55. data/lib/selenium/devtools/v90/cast.rb +0 -66
  56. data/lib/selenium/devtools/v90/console.rb +0 -53
  57. data/lib/selenium/devtools/v90/debugger.rb +0 -220
  58. data/lib/selenium/devtools/v90/device_orientation.rb +0 -49
  59. data/lib/selenium/devtools/v90/dom_snapshot.rb +0 -61
  60. data/lib/selenium/devtools/v90/emulation.rb +0 -192
  61. data/lib/selenium/devtools/v90/fetch.rb +0 -93
  62. data/lib/selenium/devtools/v90/headless_experimental.rb +0 -57
  63. data/lib/selenium/devtools/v90/input.rb +0 -142
  64. data/lib/selenium/devtools/v90/log.rb +0 -62
  65. data/lib/selenium/devtools/v90/media.rb +0 -53
  66. data/lib/selenium/devtools/v90/network.rb +0 -248
  67. data/lib/selenium/devtools/v90/overlay.rb +0 -187
  68. data/lib/selenium/devtools/v90/page.rb +0 -377
  69. data/lib/selenium/devtools/v90/performance_timeline.rb +0 -46
  70. data/lib/selenium/devtools/v90/profiler.rb +0 -119
  71. data/lib/selenium/devtools/v90/runtime.rb +0 -192
  72. data/lib/selenium/devtools/v90/schema.rb +0 -42
  73. data/lib/selenium/devtools/v90/storage.rb +0 -101
  74. data/lib/selenium/devtools/v90/tracing.rb +0 -74
  75. data/lib/selenium/devtools/v90.rb +0 -1
  76. data/lib/selenium/devtools/v91/accessibility.rb +0 -73
  77. data/lib/selenium/devtools/v91/audits.rb +0 -62
  78. data/lib/selenium/devtools/v91/background_service.rb +0 -63
  79. data/lib/selenium/devtools/v91/css.rb +0 -175
  80. data/lib/selenium/devtools/v91/database.rb +0 -60
  81. data/lib/selenium/devtools/v91/dom.rb +0 -323
  82. data/lib/selenium/devtools/v91/dom_debugger.rb +0 -94
  83. data/lib/selenium/devtools/v91/dom_storage.rb +0 -75
  84. data/lib/selenium/devtools/v91/heap_profiler.rb +0 -103
  85. data/lib/selenium/devtools/v91/indexed_db.rb +0 -96
  86. data/lib/selenium/devtools/v91/inspector.rb +0 -51
  87. data/lib/selenium/devtools/v91/io.rb +0 -55
  88. data/lib/selenium/devtools/v91/layer_tree.rb +0 -91
  89. data/lib/selenium/devtools/v91/memory.rb +0 -82
  90. data/lib/selenium/devtools/v91/performance.rb +0 -59
  91. data/lib/selenium/devtools/v91/security.rb +0 -67
  92. data/lib/selenium/devtools/v91/service_worker.rb +0 -112
  93. data/lib/selenium/devtools/v91/system_info.rb +0 -46
  94. data/lib/selenium/devtools/v91/target.rb +0 -139
  95. data/lib/selenium/devtools/v91/tethering.rb +0 -51
  96. data/lib/selenium/devtools/v91/web_audio.rb +0 -66
  97. data/lib/selenium/devtools/v91/web_authn.rb +0 -96
  98. data/lib/selenium/devtools/v91.rb +0 -1
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -154,6 +154,6 @@ module Selenium
154
154
  end
155
155
 
156
156
  end # Input
157
- end # V91
157
+ end # V93
158
158
  end # DevTools
159
159
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Inspector
25
25
  EVENTS = {
26
26
  detached: 'detached',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Inspector
49
- end # V90
49
+ end # V93
50
50
  end # DevTools
51
51
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class IO
25
25
 
26
26
  def initialize(devtools)
@@ -50,6 +50,6 @@ module Selenium
50
50
  end
51
51
 
52
52
  end # IO
53
- end # V90
53
+ end # V93
54
54
  end # DevTools
55
55
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class LayerTree
25
25
  EVENTS = {
26
26
  layer_painted: 'layerPainted',
@@ -86,6 +86,6 @@ module Selenium
86
86
  end
87
87
 
88
88
  end # LayerTree
89
- end # V90
89
+ end # V93
90
90
  end # DevTools
91
91
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Log
25
25
  EVENTS = {
26
26
  entry_added: 'entryAdded',
@@ -57,6 +57,6 @@ module Selenium
57
57
  end
58
58
 
59
59
  end # Log
60
- end # V91
60
+ end # V93
61
61
  end # DevTools
62
62
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Media
25
25
  EVENTS = {
26
26
  player_properties_changed: 'playerPropertiesChanged',
@@ -48,6 +48,6 @@ module Selenium
48
48
  end
49
49
 
50
50
  end # Media
51
- end # V91
51
+ end # V93
52
52
  end # DevTools
53
53
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Memory
25
25
 
26
26
  def initialize(devtools)
@@ -77,6 +77,6 @@ module Selenium
77
77
  end
78
78
 
79
79
  end # Memory
80
- end # V90
80
+ end # V93
81
81
  end # DevTools
82
82
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -46,6 +46,10 @@ module Selenium
46
46
  request_will_be_sent_extra_info: 'requestWillBeSentExtraInfo',
47
47
  response_received_extra_info: 'responseReceivedExtraInfo',
48
48
  trust_token_operation_done: 'trustTokenOperationDone',
49
+ subresource_web_bundle_metadata_received: 'subresourceWebBundleMetadataReceived',
50
+ subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
51
+ subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
52
+ subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
49
53
  }.freeze
50
54
 
51
55
  def initialize(devtools)
@@ -210,12 +214,6 @@ module Selenium
210
214
  cookies: cookies)
211
215
  end
212
216
 
213
- def set_data_size_limits_for_test(max_total_size:, max_resource_size:)
214
- @devtools.send_cmd('Network.setDataSizeLimitsForTest',
215
- maxTotalSize: max_total_size,
216
- maxResourceSize: max_resource_size)
217
- end
218
-
219
217
  def set_extra_http_headers(headers:)
220
218
  @devtools.send_cmd('Network.setExtraHTTPHeaders',
221
219
  headers: headers)
@@ -252,6 +250,6 @@ module Selenium
252
250
  end
253
251
 
254
252
  end # Network
255
- end # V91
253
+ end # V93
256
254
  end # DevTools
257
255
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -151,6 +151,11 @@ module Selenium
151
151
  scrollSnapHighlightConfigs: scroll_snap_highlight_configs)
152
152
  end
153
153
 
154
+ def set_show_container_query_overlays(container_query_highlight_configs:)
155
+ @devtools.send_cmd('Overlay.setShowContainerQueryOverlays',
156
+ containerQueryHighlightConfigs: container_query_highlight_configs)
157
+ end
158
+
154
159
  def set_show_paint_rects(result:)
155
160
  @devtools.send_cmd('Overlay.setShowPaintRects',
156
161
  result: result)
@@ -187,6 +192,6 @@ module Selenium
187
192
  end
188
193
 
189
194
  end # Overlay
190
- end # V91
195
+ end # V93
191
196
  end # DevTools
192
197
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -42,6 +42,7 @@ module Selenium
42
42
  javascript_dialog_closed: 'javascriptDialogClosed',
43
43
  javascript_dialog_opening: 'javascriptDialogOpening',
44
44
  lifecycle_event: 'lifecycleEvent',
45
+ back_forward_cache_not_used: 'backForwardCacheNotUsed',
45
46
  load_event_fired: 'loadEventFired',
46
47
  navigated_within_document: 'navigatedWithinDocument',
47
48
  screencast_frame: 'screencastFrame',
@@ -64,10 +65,11 @@ module Selenium
64
65
  scriptSource: script_source)
65
66
  end
66
67
 
67
- def add_script_to_evaluate_on_new_document(source:, world_name: nil)
68
+ def add_script_to_evaluate_on_new_document(source:, world_name: nil, include_command_line_api: nil)
68
69
  @devtools.send_cmd('Page.addScriptToEvaluateOnNewDocument',
69
70
  source: source,
70
- worldName: world_name)
71
+ worldName: world_name,
72
+ includeCommandLineAPI: include_command_line_api)
71
73
  end
72
74
 
73
75
  def bring_to_front
@@ -377,6 +379,6 @@ module Selenium
377
379
  end
378
380
 
379
381
  end # Page
380
- end # V91
382
+ end # V93
381
383
  end # DevTools
382
384
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Performance
25
25
  EVENTS = {
26
26
  metrics: 'metrics',
@@ -54,6 +54,6 @@ module Selenium
54
54
  end
55
55
 
56
56
  end # Performance
57
- end # V90
57
+ end # V93
58
58
  end # DevTools
59
59
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class PerformanceTimeline
25
25
  EVENTS = {
26
26
  timeline_event_added: 'timelineEventAdded',
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # PerformanceTimeline
44
- end # V91
44
+ end # V93
45
45
  end # DevTools
46
46
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -114,6 +114,6 @@ module Selenium
114
114
  end
115
115
 
116
116
  end # Profiler
117
- end # V91
117
+ end # V93
118
118
  end # DevTools
119
119
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -49,7 +49,7 @@ module Selenium
49
49
  generatePreview: generate_preview)
50
50
  end
51
51
 
52
- def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil)
52
+ def call_function_on(function_declaration:, object_id: nil, arguments: nil, silent: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, execution_context_id: nil, object_group: nil, throw_on_side_effect: nil)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -60,7 +60,8 @@ module Selenium
60
60
  userGesture: user_gesture,
61
61
  awaitPromise: await_promise,
62
62
  executionContextId: execution_context_id,
63
- objectGroup: object_group)
63
+ objectGroup: object_group,
64
+ throwOnSideEffect: throw_on_side_effect)
64
65
  end
65
66
 
66
67
  def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
@@ -187,6 +188,6 @@ module Selenium
187
188
  end
188
189
 
189
190
  end # Runtime
190
- end # V91
191
+ end # V93
191
192
  end # DevTools
192
193
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Schema
25
25
 
26
26
  def initialize(devtools)
@@ -37,6 +37,6 @@ module Selenium
37
37
  end
38
38
 
39
39
  end # Schema
40
- end # V91
40
+ end # V93
41
41
  end # DevTools
42
42
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Security
25
25
  EVENTS = {
26
26
  certificate_error: 'certificateError',
@@ -62,6 +62,6 @@ module Selenium
62
62
  end
63
63
 
64
64
  end # Security
65
- end # V90
65
+ end # V93
66
66
  end # DevTools
67
67
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class ServiceWorker
25
25
  EVENTS = {
26
26
  worker_error_reported: 'workerErrorReported',
@@ -107,6 +107,6 @@ module Selenium
107
107
  end
108
108
 
109
109
  end # ServiceWorker
110
- end # V90
110
+ end # V93
111
111
  end # DevTools
112
112
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -101,6 +101,6 @@ module Selenium
101
101
  end
102
102
 
103
103
  end # Storage
104
- end # V91
104
+ end # V93
105
105
  end # DevTools
106
106
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -41,6 +41,6 @@ module Selenium
41
41
  end
42
42
 
43
43
  end # SystemInfo
44
- end # V90
44
+ end # V93
45
45
  end # DevTools
46
46
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -134,6 +134,6 @@ module Selenium
134
134
  end
135
135
 
136
136
  end # Target
137
- end # V90
137
+ end # V93
138
138
  end # DevTools
139
139
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V90
23
+ module V93
24
24
  class Tethering
25
25
  EVENTS = {
26
26
  accepted: 'accepted',
@@ -46,6 +46,6 @@ module Selenium
46
46
  end
47
47
 
48
48
  end # Tethering
49
- end # V90
49
+ end # V93
50
50
  end # DevTools
51
51
  end # Selenium
@@ -20,7 +20,7 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V91
23
+ module V93
24
24
  class Tracing
25
25
  EVENTS = {
26
26
  buffer_usage: 'bufferUsage',
@@ -70,6 +70,6 @@ module Selenium
70
70
  end
71
71
 
72
72
  end # Tracing
73
- end # V91
73
+ end # V93
74
74
  end # DevTools
75
75
  end # Selenium