selenium-devtools 0.96.0 → 0.99.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/NOTICE +1 -1
  4. data/lib/selenium/devtools/README.md +14 -0
  5. data/lib/selenium/devtools/{v95 → v97}/accessibility.rb +2 -2
  6. data/lib/selenium/devtools/{v94 → v97}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v93 → v97}/audits.rb +2 -2
  8. data/lib/selenium/devtools/{v95 → v97}/background_service.rb +2 -2
  9. data/lib/selenium/devtools/{v93 → v97}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v94 → v97}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v94 → v97}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v95 → v97}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v94 → v97}/css.rb +2 -2
  14. data/lib/selenium/devtools/{v95 → v97}/database.rb +2 -2
  15. data/lib/selenium/devtools/{v95 → v97}/debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v94 → v97}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v94 → v97}/dom.rb +2 -2
  18. data/lib/selenium/devtools/{v93 → v97}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v94 → v97}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v95 → v97}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v95 → v97}/emulation.rb +2 -2
  22. data/lib/selenium/devtools/v97/event_breakpoints.rb +48 -0
  23. data/lib/selenium/devtools/{v95 → v97}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v94 → v97}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v93 → v97}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v95 → v97}/indexed_db.rb +2 -2
  27. data/lib/selenium/devtools/{v95 → v97}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v93 → v97}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v95 → v97}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v93 → v97}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v95 → v97}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v94 → v97}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v93 → v97}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v95 → v97}/network.rb +2 -2
  35. data/lib/selenium/devtools/{v93 → v97}/overlay.rb +7 -2
  36. data/lib/selenium/devtools/{v95 → v97}/page.rb +7 -7
  37. data/lib/selenium/devtools/{v93 → v97}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v95 → v97}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v95 → v97}/profiler.rb +2 -2
  40. data/lib/selenium/devtools/{v95 → v97}/runtime.rb +2 -2
  41. data/lib/selenium/devtools/{v95 → v97}/schema.rb +2 -2
  42. data/lib/selenium/devtools/{v95 → v97}/security.rb +2 -2
  43. data/lib/selenium/devtools/{v93 → v97}/service_worker.rb +2 -2
  44. data/lib/selenium/devtools/{v95 → v97}/storage.rb +2 -2
  45. data/lib/selenium/devtools/{v93 → v97}/system_info.rb +2 -2
  46. data/lib/selenium/devtools/{v95 → v97}/target.rb +2 -2
  47. data/lib/selenium/devtools/{v95 → v97}/tethering.rb +2 -2
  48. data/lib/selenium/devtools/{v93 → v97}/tracing.rb +2 -2
  49. data/lib/selenium/devtools/{v93 → v97}/web_audio.rb +2 -2
  50. data/lib/selenium/devtools/{v93 → v97}/web_authn.rb +2 -2
  51. data/lib/selenium/devtools/v97.rb +1 -0
  52. data/lib/selenium/devtools/{v94 → v98}/accessibility.rb +20 -3
  53. data/lib/selenium/devtools/{v95 → v98}/animation.rb +2 -2
  54. data/lib/selenium/devtools/{v95 → v98}/audits.rb +2 -2
  55. data/lib/selenium/devtools/{v93 → v98}/background_service.rb +2 -2
  56. data/lib/selenium/devtools/{v94 → v98}/browser.rb +2 -2
  57. data/lib/selenium/devtools/{v93 → v98}/cache_storage.rb +2 -2
  58. data/lib/selenium/devtools/{v95 → v98}/cast.rb +7 -2
  59. data/lib/selenium/devtools/{v94 → v98}/console.rb +2 -2
  60. data/lib/selenium/devtools/{v93 → v98}/css.rb +2 -2
  61. data/lib/selenium/devtools/{v93 → v98}/database.rb +2 -2
  62. data/lib/selenium/devtools/{v94 → v98}/debugger.rb +2 -2
  63. data/lib/selenium/devtools/{v95 → v98}/device_orientation.rb +2 -2
  64. data/lib/selenium/devtools/{v95 → v98}/dom.rb +2 -2
  65. data/lib/selenium/devtools/{v95 → v98}/dom_debugger.rb +2 -2
  66. data/lib/selenium/devtools/{v95 → v98}/dom_snapshot.rb +2 -2
  67. data/lib/selenium/devtools/{v93 → v98}/dom_storage.rb +2 -2
  68. data/lib/selenium/devtools/{v94 → v98}/emulation.rb +7 -2
  69. data/lib/selenium/devtools/v98/event_breakpoints.rb +48 -0
  70. data/lib/selenium/devtools/{v94 → v98}/fetch.rb +11 -2
  71. data/lib/selenium/devtools/{v95 → v98}/headless_experimental.rb +2 -2
  72. data/lib/selenium/devtools/{v95 → v98}/heap_profiler.rb +2 -2
  73. data/lib/selenium/devtools/{v93 → v98}/indexed_db.rb +2 -2
  74. data/lib/selenium/devtools/{v94 → v98}/input.rb +2 -2
  75. data/lib/selenium/devtools/{v95 → v98}/inspector.rb +2 -2
  76. data/lib/selenium/devtools/{v93 → v98}/io.rb +2 -2
  77. data/lib/selenium/devtools/{v95 → v98}/layer_tree.rb +2 -2
  78. data/lib/selenium/devtools/{v94 → v98}/log.rb +2 -2
  79. data/lib/selenium/devtools/{v95 → v98}/media.rb +2 -2
  80. data/lib/selenium/devtools/{v94 → v98}/memory.rb +2 -2
  81. data/lib/selenium/devtools/{v94 → v98}/network.rb +13 -4
  82. data/lib/selenium/devtools/{v95 → v98}/overlay.rb +7 -2
  83. data/lib/selenium/devtools/{v94 → v98}/page.rb +11 -7
  84. data/lib/selenium/devtools/{v95 → v98}/performance.rb +2 -2
  85. data/lib/selenium/devtools/{v94 → v98}/performance_timeline.rb +2 -2
  86. data/lib/selenium/devtools/{v93 → v98}/profiler.rb +2 -26
  87. data/lib/selenium/devtools/{v94 → v98}/runtime.rb +5 -4
  88. data/lib/selenium/devtools/{v94 → v98}/schema.rb +2 -2
  89. data/lib/selenium/devtools/{v93 → v98}/security.rb +2 -2
  90. data/lib/selenium/devtools/{v94 → v98}/service_worker.rb +2 -2
  91. data/lib/selenium/devtools/{v93 → v98}/storage.rb +2 -2
  92. data/lib/selenium/devtools/{v95 → v98}/system_info.rb +2 -2
  93. data/lib/selenium/devtools/{v93 → v98}/target.rb +11 -4
  94. data/lib/selenium/devtools/{v93 → v98}/tethering.rb +2 -2
  95. data/lib/selenium/devtools/{v94 → v98}/tracing.rb +2 -2
  96. data/lib/selenium/devtools/{v94 → v98}/web_audio.rb +2 -2
  97. data/lib/selenium/devtools/{v95 → v98}/web_authn.rb +2 -2
  98. data/lib/selenium/devtools/v98.rb +1 -0
  99. data/lib/selenium/devtools/{v93 → v99}/accessibility.rb +25 -6
  100. data/lib/selenium/devtools/{v93 → v99}/animation.rb +2 -2
  101. data/lib/selenium/devtools/{v94 → v99}/audits.rb +2 -2
  102. data/lib/selenium/devtools/{v94 → v99}/background_service.rb +2 -2
  103. data/lib/selenium/devtools/{v95 → v99}/browser.rb +2 -2
  104. data/lib/selenium/devtools/{v95 → v99}/cache_storage.rb +2 -2
  105. data/lib/selenium/devtools/{v93 → v99}/cast.rb +7 -2
  106. data/lib/selenium/devtools/{v93 → v99}/console.rb +2 -2
  107. data/lib/selenium/devtools/{v95 → v99}/css.rb +2 -2
  108. data/lib/selenium/devtools/{v94 → v99}/database.rb +2 -2
  109. data/lib/selenium/devtools/{v93 → v99}/debugger.rb +2 -2
  110. data/lib/selenium/devtools/{v93 → v99}/device_orientation.rb +2 -2
  111. data/lib/selenium/devtools/{v93 → v99}/dom.rb +7 -2
  112. data/lib/selenium/devtools/{v94 → v99}/dom_debugger.rb +2 -2
  113. data/lib/selenium/devtools/{v93 → v99}/dom_snapshot.rb +2 -2
  114. data/lib/selenium/devtools/{v94 → v99}/dom_storage.rb +2 -2
  115. data/lib/selenium/devtools/{v93 → v99}/emulation.rb +7 -2
  116. data/lib/selenium/devtools/v99/event_breakpoints.rb +48 -0
  117. data/lib/selenium/devtools/{v93 → v99}/fetch.rb +14 -4
  118. data/lib/selenium/devtools/{v93 → v99}/headless_experimental.rb +2 -2
  119. data/lib/selenium/devtools/{v94 → v99}/heap_profiler.rb +2 -2
  120. data/lib/selenium/devtools/{v94 → v99}/indexed_db.rb +2 -2
  121. data/lib/selenium/devtools/{v93 → v99}/input.rb +11 -2
  122. data/lib/selenium/devtools/{v94 → v99}/inspector.rb +2 -2
  123. data/lib/selenium/devtools/{v94 → v99}/io.rb +2 -2
  124. data/lib/selenium/devtools/{v94 → v99}/layer_tree.rb +2 -2
  125. data/lib/selenium/devtools/{v93 → v99}/log.rb +2 -2
  126. data/lib/selenium/devtools/{v93 → v99}/media.rb +2 -2
  127. data/lib/selenium/devtools/{v95 → v99}/memory.rb +2 -2
  128. data/lib/selenium/devtools/{v93 → v99}/network.rb +14 -5
  129. data/lib/selenium/devtools/{v94 → v99}/overlay.rb +7 -2
  130. data/lib/selenium/devtools/{v93 → v99}/page.rb +19 -9
  131. data/lib/selenium/devtools/{v94 → v99}/performance.rb +2 -2
  132. data/lib/selenium/devtools/{v93 → v99}/performance_timeline.rb +2 -2
  133. data/lib/selenium/devtools/{v94 → v99}/profiler.rb +2 -26
  134. data/lib/selenium/devtools/{v93 → v99}/runtime.rb +10 -4
  135. data/lib/selenium/devtools/{v93 → v99}/schema.rb +2 -2
  136. data/lib/selenium/devtools/{v94 → v99}/security.rb +2 -2
  137. data/lib/selenium/devtools/{v95 → v99}/service_worker.rb +2 -2
  138. data/lib/selenium/devtools/{v94 → v99}/storage.rb +14 -2
  139. data/lib/selenium/devtools/{v94 → v99}/system_info.rb +2 -2
  140. data/lib/selenium/devtools/{v94 → v99}/target.rb +11 -4
  141. data/lib/selenium/devtools/{v94 → v99}/tethering.rb +2 -2
  142. data/lib/selenium/devtools/{v95 → v99}/tracing.rb +2 -2
  143. data/lib/selenium/devtools/{v95 → v99}/web_audio.rb +2 -2
  144. data/lib/selenium/devtools/{v94 → v99}/web_authn.rb +2 -2
  145. data/lib/selenium/devtools/v99.rb +1 -0
  146. data/lib/selenium/devtools/version.rb +1 -1
  147. data/lib/selenium/devtools.rb +0 -2
  148. metadata +144 -143
  149. data/lib/selenium/devtools/v93/application_cache.rb +0 -60
  150. data/lib/selenium/devtools/v93.rb +0 -1
  151. data/lib/selenium/devtools/v94/application_cache.rb +0 -60
  152. data/lib/selenium/devtools/v94.rb +0 -1
  153. data/lib/selenium/devtools/v95/application_cache.rb +0 -60
  154. data/lib/selenium/devtools/v95.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 V94
23
+ module V98
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -78,6 +78,15 @@ module Selenium
78
78
  authChallengeResponse: auth_challenge_response)
79
79
  end
80
80
 
81
+ def continue_response(request_id:, response_code: nil, response_phrase: nil, response_headers: nil, binary_response_headers: nil)
82
+ @devtools.send_cmd('Fetch.continueResponse',
83
+ requestId: request_id,
84
+ responseCode: response_code,
85
+ responsePhrase: response_phrase,
86
+ responseHeaders: response_headers,
87
+ binaryResponseHeaders: binary_response_headers)
88
+ end
89
+
81
90
  def get_response_body(request_id:)
82
91
  @devtools.send_cmd('Fetch.getResponseBody',
83
92
  requestId: request_id)
@@ -89,6 +98,6 @@ module Selenium
89
98
  end
90
99
 
91
100
  end # Fetch
92
- end # V94
101
+ end # V98
93
102
  end # DevTools
94
103
  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 V95
23
+ module V98
24
24
  class HeadlessExperimental
25
25
  EVENTS = {
26
26
  needs_begin_frames_changed: 'needsBeginFramesChanged',
@@ -52,6 +52,6 @@ module Selenium
52
52
  end
53
53
 
54
54
  end # HeadlessExperimental
55
- end # V95
55
+ end # V98
56
56
  end # DevTools
57
57
  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 V95
23
+ module V98
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -100,6 +100,6 @@ module Selenium
100
100
  end
101
101
 
102
102
  end # HeapProfiler
103
- end # V95
103
+ end # V98
104
104
  end # DevTools
105
105
  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 V93
23
+ module V98
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # IndexedDB
94
- end # V93
94
+ end # V98
95
95
  end # DevTools
96
96
  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 V94
23
+ module V98
24
24
  class Input
25
25
  EVENTS = {
26
26
  drag_intercepted: 'dragIntercepted',
@@ -163,6 +163,6 @@ module Selenium
163
163
  end
164
164
 
165
165
  end # Input
166
- end # V94
166
+ end # V98
167
167
  end # DevTools
168
168
  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 V95
23
+ module V98
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 # V95
49
+ end # V98
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 V93
23
+ module V98
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 # V93
53
+ end # V98
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 V95
23
+ module V98
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 # V95
89
+ end # V98
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 V94
23
+ module V98
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 # V94
60
+ end # V98
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 V95
23
+ module V98
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 # V95
51
+ end # V98
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 V94
23
+ module V98
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 # V94
80
+ end # V98
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 V94
23
+ module V98
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -50,6 +50,9 @@ module Selenium
50
50
  subresource_web_bundle_metadata_error: 'subresourceWebBundleMetadataError',
51
51
  subresource_web_bundle_inner_response_parsed: 'subresourceWebBundleInnerResponseParsed',
52
52
  subresource_web_bundle_inner_response_error: 'subresourceWebBundleInnerResponseError',
53
+ reporting_api_report_added: 'reportingApiReportAdded',
54
+ reporting_api_report_updated: 'reportingApiReportUpdated',
55
+ reporting_api_endpoints_changed_for_origin: 'reportingApiEndpointsChangedForOrigin',
53
56
  }.freeze
54
57
 
55
58
  def initialize(devtools)
@@ -192,7 +195,7 @@ module Selenium
192
195
  cacheDisabled: cache_disabled)
193
196
  end
194
197
 
195
- def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil, same_party: nil, source_scheme: nil, source_port: nil)
198
+ def set_cookie(name:, value:, url: nil, domain: nil, path: nil, secure: nil, http_only: nil, same_site: nil, expires: nil, priority: nil, same_party: nil, source_scheme: nil, source_port: nil, partition_key: nil)
196
199
  @devtools.send_cmd('Network.setCookie',
197
200
  name: name,
198
201
  value: value,
@@ -206,7 +209,8 @@ module Selenium
206
209
  priority: priority,
207
210
  sameParty: same_party,
208
211
  sourceScheme: source_scheme,
209
- sourcePort: source_port)
212
+ sourcePort: source_port,
213
+ partitionKey: partition_key)
210
214
  end
211
215
 
212
216
  def set_cookies(cookies:)
@@ -242,6 +246,11 @@ module Selenium
242
246
  frameId: frame_id)
243
247
  end
244
248
 
249
+ def enable_reporting_api(enable:)
250
+ @devtools.send_cmd('Network.enableReportingApi',
251
+ enable: enable)
252
+ end
253
+
245
254
  def load_network_resource(frame_id: nil, url:, options:)
246
255
  @devtools.send_cmd('Network.loadNetworkResource',
247
256
  frameId: frame_id,
@@ -250,6 +259,6 @@ module Selenium
250
259
  end
251
260
 
252
261
  end # Network
253
- end # V94
262
+ end # V98
254
263
  end # DevTools
255
264
  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 V95
23
+ module V98
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -191,7 +191,12 @@ module Selenium
191
191
  hingeConfig: hinge_config)
192
192
  end
193
193
 
194
+ def set_show_isolated_elements(isolated_element_highlight_configs:)
195
+ @devtools.send_cmd('Overlay.setShowIsolatedElements',
196
+ isolatedElementHighlightConfigs: isolated_element_highlight_configs)
197
+ end
198
+
194
199
  end # Overlay
195
- end # V95
200
+ end # V98
196
201
  end # DevTools
197
202
  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 V94
23
+ module V98
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -135,6 +135,10 @@ module Selenium
135
135
  @devtools.send_cmd('Page.getManifestIcons')
136
136
  end
137
137
 
138
+ def get_app_id
139
+ @devtools.send_cmd('Page.getAppId')
140
+ end
141
+
138
142
  def get_cookies
139
143
  @devtools.send_cmd('Page.getCookies')
140
144
  end
@@ -348,11 +352,6 @@ module Selenium
348
352
  @devtools.send_cmd('Page.stopScreencast')
349
353
  end
350
354
 
351
- def set_produce_compilation_cache(enabled:)
352
- @devtools.send_cmd('Page.setProduceCompilationCache',
353
- enabled: enabled)
354
- end
355
-
356
355
  def produce_compilation_cache(scripts:)
357
356
  @devtools.send_cmd('Page.produceCompilationCache',
358
357
  scripts: scripts)
@@ -368,6 +367,11 @@ module Selenium
368
367
  @devtools.send_cmd('Page.clearCompilationCache')
369
368
  end
370
369
 
370
+ def set_spc_transaction_mode(mode:)
371
+ @devtools.send_cmd('Page.setSPCTransactionMode',
372
+ mode: mode)
373
+ end
374
+
371
375
  def generate_test_report(message:, group: nil)
372
376
  @devtools.send_cmd('Page.generateTestReport',
373
377
  message: message,
@@ -384,6 +388,6 @@ module Selenium
384
388
  end
385
389
 
386
390
  end # Page
387
- end # V94
391
+ end # V98
388
392
  end # DevTools
389
393
  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 V95
23
+ module V98
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 # V95
57
+ end # V98
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 V94
23
+ module V98
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 # V94
44
+ end # V98
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 V93
23
+ module V98
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -89,31 +89,7 @@ module Selenium
89
89
  @devtools.send_cmd('Profiler.takeTypeProfile')
90
90
  end
91
91
 
92
- def enable_counters
93
- @devtools.send_cmd('Profiler.enableCounters')
94
- end
95
-
96
- def disable_counters
97
- @devtools.send_cmd('Profiler.disableCounters')
98
- end
99
-
100
- def get_counters
101
- @devtools.send_cmd('Profiler.getCounters')
102
- end
103
-
104
- def enable_runtime_call_stats
105
- @devtools.send_cmd('Profiler.enableRuntimeCallStats')
106
- end
107
-
108
- def disable_runtime_call_stats
109
- @devtools.send_cmd('Profiler.disableRuntimeCallStats')
110
- end
111
-
112
- def get_runtime_call_stats
113
- @devtools.send_cmd('Profiler.getRuntimeCallStats')
114
- end
115
-
116
92
  end # Profiler
117
- end # V93
93
+ end # V98
118
94
  end # DevTools
119
95
  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 V94
23
+ module V98
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -111,12 +111,13 @@ module Selenium
111
111
  @devtools.send_cmd('Runtime.getHeapUsage')
112
112
  end
113
113
 
114
- def get_properties(object_id:, own_properties: nil, accessor_properties_only: nil, generate_preview: nil)
114
+ def get_properties(object_id:, own_properties: nil, accessor_properties_only: nil, generate_preview: nil, non_indexed_properties_only: nil)
115
115
  @devtools.send_cmd('Runtime.getProperties',
116
116
  objectId: object_id,
117
117
  ownProperties: own_properties,
118
118
  accessorPropertiesOnly: accessor_properties_only,
119
- generatePreview: generate_preview)
119
+ generatePreview: generate_preview,
120
+ nonIndexedPropertiesOnly: non_indexed_properties_only)
120
121
  end
121
122
 
122
123
  def global_lexical_scope_names(execution_context_id: nil)
@@ -188,6 +189,6 @@ module Selenium
188
189
  end
189
190
 
190
191
  end # Runtime
191
- end # V94
192
+ end # V98
192
193
  end # DevTools
193
194
  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 V94
23
+ module V98
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 # V94
40
+ end # V98
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 V93
23
+ module V98
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 # V93
65
+ end # V98
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 V94
23
+ module V98
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 # V94
110
+ end # V98
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 V93
23
+ module V98
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 # V93
104
+ end # V98
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 V95
23
+ module V98
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 # V95
44
+ end # V98
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 V93
23
+ module V98
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -67,11 +67,12 @@ module Selenium
67
67
  bindingName: binding_name)
68
68
  end
69
69
 
70
- def create_browser_context(dispose_on_detach: nil, proxy_server: nil, proxy_bypass_list: nil)
70
+ def create_browser_context(dispose_on_detach: nil, proxy_server: nil, proxy_bypass_list: nil, origins_with_universal_network_access: nil)
71
71
  @devtools.send_cmd('Target.createBrowserContext',
72
72
  disposeOnDetach: dispose_on_detach,
73
73
  proxyServer: proxy_server,
74
- proxyBypassList: proxy_bypass_list)
74
+ proxyBypassList: proxy_bypass_list,
75
+ originsWithUniversalNetworkAccess: origins_with_universal_network_access)
75
76
  end
76
77
 
77
78
  def get_browser_contexts
@@ -123,6 +124,12 @@ module Selenium
123
124
  flatten: flatten)
124
125
  end
125
126
 
127
+ def auto_attach_related(target_id:, wait_for_debugger_on_start:)
128
+ @devtools.send_cmd('Target.autoAttachRelated',
129
+ targetId: target_id,
130
+ waitForDebuggerOnStart: wait_for_debugger_on_start)
131
+ end
132
+
126
133
  def set_discover_targets(discover:)
127
134
  @devtools.send_cmd('Target.setDiscoverTargets',
128
135
  discover: discover)
@@ -134,6 +141,6 @@ module Selenium
134
141
  end
135
142
 
136
143
  end # Target
137
- end # V93
144
+ end # V98
138
145
  end # DevTools
139
146
  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 V93
23
+ module V98
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 # V93
49
+ end # V98
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 V94
23
+ module V98
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 # V94
73
+ end # V98
74
74
  end # DevTools
75
75
  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 V94
23
+ module V98
24
24
  class WebAudio
25
25
  EVENTS = {
26
26
  context_created: 'contextCreated',
@@ -61,6 +61,6 @@ module Selenium
61
61
  end
62
62
 
63
63
  end # WebAudio
64
- end # V94
64
+ end # V98
65
65
  end # DevTools
66
66
  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 V95
23
+ module V98
24
24
  class WebAuthn
25
25
 
26
26
  def initialize(devtools)
@@ -91,6 +91,6 @@ module Selenium
91
91
  end
92
92
 
93
93
  end # WebAuthn
94
- end # V95
94
+ end # V98
95
95
  end # DevTools
96
96
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v98/*", &method(:require))