selenium-devtools 0.109.0 → 0.111.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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v108 → v110}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v108 → v110}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v108 → v110}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v107 → v110}/background_service.rb +2 -2
  6. data/lib/selenium/devtools/{v107 → v110}/browser.rb +2 -2
  7. data/lib/selenium/devtools/{v108 → v110}/cache_storage.rb +5 -4
  8. data/lib/selenium/devtools/{v107 → v110}/cast.rb +2 -2
  9. data/lib/selenium/devtools/{v108 → v110}/console.rb +2 -2
  10. data/lib/selenium/devtools/{v107 → v110}/css.rb +2 -2
  11. data/lib/selenium/devtools/{v108 → v110}/database.rb +2 -2
  12. data/lib/selenium/devtools/{v108 → v110}/debugger.rb +2 -2
  13. data/lib/selenium/devtools/{v107 → v110}/device_orientation.rb +2 -2
  14. data/lib/selenium/devtools/{v108 → v110}/dom.rb +6 -4
  15. data/lib/selenium/devtools/{v108 → v110}/dom_debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v108 → v110}/dom_snapshot.rb +2 -2
  17. data/lib/selenium/devtools/{v107 → v110}/dom_storage.rb +2 -2
  18. data/lib/selenium/devtools/{v108 → v110}/emulation.rb +2 -2
  19. data/lib/selenium/devtools/{v108 → v110}/event_breakpoints.rb +2 -2
  20. data/lib/selenium/devtools/{v107 → v110}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v107 → v110}/headless_experimental.rb +2 -5
  22. data/lib/selenium/devtools/{v108 → v110}/heap_profiler.rb +2 -2
  23. data/lib/selenium/devtools/{v108 → v110}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v108 → v110}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v108 → v110}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v107 → v110}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v108 → v110}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v108 → v110}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v108 → v110}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v108 → v110}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v108 → v110}/network.rb +2 -2
  32. data/lib/selenium/devtools/{v107 → v110}/overlay.rb +2 -2
  33. data/lib/selenium/devtools/{v107 → v110}/page.rb +10 -4
  34. data/lib/selenium/devtools/{v107 → v110}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v108 → v110}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v108 → v110}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v108 → v110}/runtime.rb +2 -2
  38. data/lib/selenium/devtools/{v108 → v110}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v107 → v110}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v107 → v110}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v108 → v110}/storage.rb +47 -2
  42. data/lib/selenium/devtools/{v107 → v110}/system_info.rb +7 -2
  43. data/lib/selenium/devtools/{v108 → v110}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v107 → v110}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v107 → v110}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v107 → v110}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v108 → v110}/web_authn.rb +14 -2
  48. data/lib/selenium/devtools/v110.rb +1 -0
  49. data/lib/selenium/devtools/{v107 → v111}/accessibility.rb +2 -2
  50. data/lib/selenium/devtools/{v107 → v111}/animation.rb +2 -2
  51. data/lib/selenium/devtools/{v107 → v111}/audits.rb +2 -2
  52. data/lib/selenium/devtools/{v108 → v111}/background_service.rb +2 -2
  53. data/lib/selenium/devtools/{v108 → v111}/browser.rb +2 -2
  54. data/lib/selenium/devtools/{v107 → v111}/cache_storage.rb +5 -4
  55. data/lib/selenium/devtools/{v108 → v111}/cast.rb +2 -2
  56. data/lib/selenium/devtools/{v107 → v111}/console.rb +2 -2
  57. data/lib/selenium/devtools/{v108 → v111}/css.rb +2 -2
  58. data/lib/selenium/devtools/{v107 → v111}/database.rb +2 -2
  59. data/lib/selenium/devtools/{v107 → v111}/debugger.rb +2 -2
  60. data/lib/selenium/devtools/{v108 → v111}/device_orientation.rb +2 -2
  61. data/lib/selenium/devtools/{v107 → v111}/dom.rb +6 -4
  62. data/lib/selenium/devtools/{v107 → v111}/dom_debugger.rb +2 -2
  63. data/lib/selenium/devtools/{v107 → v111}/dom_snapshot.rb +2 -2
  64. data/lib/selenium/devtools/{v108 → v111}/dom_storage.rb +2 -2
  65. data/lib/selenium/devtools/{v107 → v111}/emulation.rb +2 -2
  66. data/lib/selenium/devtools/{v107 → v111}/event_breakpoints.rb +2 -2
  67. data/lib/selenium/devtools/{v108 → v111}/fetch.rb +2 -2
  68. data/lib/selenium/devtools/{v108 → v111}/headless_experimental.rb +2 -5
  69. data/lib/selenium/devtools/{v107 → v111}/heap_profiler.rb +6 -4
  70. data/lib/selenium/devtools/{v107 → v111}/indexed_db.rb +2 -2
  71. data/lib/selenium/devtools/{v107 → v111}/input.rb +2 -2
  72. data/lib/selenium/devtools/{v107 → v111}/inspector.rb +2 -2
  73. data/lib/selenium/devtools/{v108 → v111}/io.rb +2 -2
  74. data/lib/selenium/devtools/{v107 → v111}/layer_tree.rb +2 -2
  75. data/lib/selenium/devtools/{v107 → v111}/log.rb +2 -2
  76. data/lib/selenium/devtools/{v107 → v111}/media.rb +2 -2
  77. data/lib/selenium/devtools/{v107 → v111}/memory.rb +2 -2
  78. data/lib/selenium/devtools/{v107 → v111}/network.rb +2 -2
  79. data/lib/selenium/devtools/{v108 → v111}/overlay.rb +2 -2
  80. data/lib/selenium/devtools/{v108 → v111}/page.rb +10 -4
  81. data/lib/selenium/devtools/{v108 → v111}/performance.rb +2 -2
  82. data/lib/selenium/devtools/{v107 → v111}/performance_timeline.rb +2 -2
  83. data/lib/selenium/devtools/{v107 → v111}/profiler.rb +2 -14
  84. data/lib/selenium/devtools/{v107 → v111}/runtime.rb +4 -3
  85. data/lib/selenium/devtools/{v107 → v111}/schema.rb +2 -2
  86. data/lib/selenium/devtools/{v108 → v111}/security.rb +2 -2
  87. data/lib/selenium/devtools/{v108 → v111}/service_worker.rb +2 -2
  88. data/lib/selenium/devtools/{v107 → v111}/storage.rb +52 -2
  89. data/lib/selenium/devtools/{v108 → v111}/system_info.rb +7 -2
  90. data/lib/selenium/devtools/{v107 → v111}/target.rb +5 -4
  91. data/lib/selenium/devtools/{v108 → v111}/tethering.rb +2 -2
  92. data/lib/selenium/devtools/{v108 → v111}/tracing.rb +2 -2
  93. data/lib/selenium/devtools/{v108 → v111}/web_audio.rb +2 -2
  94. data/lib/selenium/devtools/{v107 → v111}/web_authn.rb +14 -2
  95. data/lib/selenium/devtools/v111.rb +1 -0
  96. data/lib/selenium/devtools/version.rb +1 -1
  97. metadata +99 -99
  98. data/lib/selenium/devtools/v107.rb +0 -1
  99. data/lib/selenium/devtools/v108.rb +0 -1
@@ -20,11 +20,8 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V108
23
+ module V111
24
24
  class HeadlessExperimental
25
- EVENTS = {
26
- needs_begin_frames_changed: 'needsBeginFramesChanged',
27
- }.freeze
28
25
 
29
26
  def initialize(devtools)
30
27
  @devtools = devtools
@@ -52,6 +49,6 @@ module Selenium
52
49
  end
53
50
 
54
51
  end # HeadlessExperimental
55
- end # V108
52
+ end # V111
56
53
  end # DevTools
57
54
  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 V107
23
+ module V111
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -71,9 +71,11 @@ module Selenium
71
71
  @devtools.send_cmd('HeapProfiler.getSamplingProfile')
72
72
  end
73
73
 
74
- def start_sampling(sampling_interval: nil)
74
+ def start_sampling(sampling_interval: nil, include_objects_collected_by_major_gc: nil, include_objects_collected_by_minor_gc: nil)
75
75
  @devtools.send_cmd('HeapProfiler.startSampling',
76
- samplingInterval: sampling_interval)
76
+ samplingInterval: sampling_interval,
77
+ includeObjectsCollectedByMajorGC: include_objects_collected_by_major_gc,
78
+ includeObjectsCollectedByMinorGC: include_objects_collected_by_minor_gc)
77
79
  end
78
80
 
79
81
  def start_tracking_heap_objects(track_allocations: nil)
@@ -102,6 +104,6 @@ module Selenium
102
104
  end
103
105
 
104
106
  end # HeapProfiler
105
- end # V107
107
+ end # V111
106
108
  end # DevTools
107
109
  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 V107
23
+ module V111
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -98,6 +98,6 @@ module Selenium
98
98
  end
99
99
 
100
100
  end # IndexedDB
101
- end # V107
101
+ end # V111
102
102
  end # DevTools
103
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 V107
23
+ module V111
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 # V107
166
+ end # V111
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 V107
23
+ module V111
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 # V107
49
+ end # V111
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 V108
23
+ module V111
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 # V108
53
+ end # V111
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 V107
23
+ module V111
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 # V107
89
+ end # V111
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 V107
23
+ module V111
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 # V107
60
+ end # V111
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 V107
23
+ module V111
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 # V107
51
+ end # V111
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 V107
23
+ module V111
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 # V107
80
+ end # V111
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 V107
23
+ module V111
24
24
  class Network
25
25
  EVENTS = {
26
26
  data_received: 'dataReceived',
@@ -259,6 +259,6 @@ module Selenium
259
259
  end
260
260
 
261
261
  end # Network
262
- end # V107
262
+ end # V111
263
263
  end # DevTools
264
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 V108
23
+ module V111
24
24
  class Overlay
25
25
  EVENTS = {
26
26
  inspect_node_requested: 'inspectNodeRequested',
@@ -197,6 +197,6 @@ module Selenium
197
197
  end
198
198
 
199
199
  end # Overlay
200
- end # V108
200
+ end # V111
201
201
  end # DevTools
202
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 V108
23
+ module V111
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -77,13 +77,14 @@ module Selenium
77
77
  @devtools.send_cmd('Page.bringToFront')
78
78
  end
79
79
 
80
- def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil)
80
+ def capture_screenshot(format: nil, quality: nil, clip: nil, from_surface: nil, capture_beyond_viewport: nil, optimize_for_speed: nil)
81
81
  @devtools.send_cmd('Page.captureScreenshot',
82
82
  format: format,
83
83
  quality: quality,
84
84
  clip: clip,
85
85
  fromSurface: from_surface,
86
- captureBeyondViewport: capture_beyond_viewport)
86
+ captureBeyondViewport: capture_beyond_viewport,
87
+ optimizeForSpeed: optimize_for_speed)
87
88
  end
88
89
 
89
90
  def capture_snapshot(format: nil)
@@ -140,6 +141,11 @@ module Selenium
140
141
  @devtools.send_cmd('Page.getAppId')
141
142
  end
142
143
 
144
+ def get_ad_script_id(frame_id:)
145
+ @devtools.send_cmd('Page.getAdScriptId',
146
+ frameId: frame_id)
147
+ end
148
+
143
149
  def get_cookies
144
150
  @devtools.send_cmd('Page.getCookies')
145
151
  end
@@ -389,6 +395,6 @@ module Selenium
389
395
  end
390
396
 
391
397
  end # Page
392
- end # V108
398
+ end # V111
393
399
  end # DevTools
394
400
  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 V108
23
+ module V111
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 # V108
57
+ end # V111
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 V107
23
+ module V111
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 # V107
44
+ end # V111
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 V107
23
+ module V111
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -65,10 +65,6 @@ module Selenium
65
65
  allowTriggeredUpdates: allow_triggered_updates)
66
66
  end
67
67
 
68
- def start_type_profile
69
- @devtools.send_cmd('Profiler.startTypeProfile')
70
- end
71
-
72
68
  def stop
73
69
  @devtools.send_cmd('Profiler.stop')
74
70
  end
@@ -77,19 +73,11 @@ module Selenium
77
73
  @devtools.send_cmd('Profiler.stopPreciseCoverage')
78
74
  end
79
75
 
80
- def stop_type_profile
81
- @devtools.send_cmd('Profiler.stopTypeProfile')
82
- end
83
-
84
76
  def take_precise_coverage
85
77
  @devtools.send_cmd('Profiler.takePreciseCoverage')
86
78
  end
87
79
 
88
- def take_type_profile
89
- @devtools.send_cmd('Profiler.takeTypeProfile')
90
- end
91
-
92
80
  end # Profiler
93
- end # V107
81
+ end # V111
94
82
  end # DevTools
95
83
  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 V107
23
+ module V111
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, throw_on_side_effect: nil, generate_web_driver_value: 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, unique_context_id: nil, generate_web_driver_value: nil)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -62,6 +62,7 @@ module Selenium
62
62
  executionContextId: execution_context_id,
63
63
  objectGroup: object_group,
64
64
  throwOnSideEffect: throw_on_side_effect,
65
+ uniqueContextId: unique_context_id,
65
66
  generateWebDriverValue: generate_web_driver_value)
66
67
  end
67
68
 
@@ -196,6 +197,6 @@ module Selenium
196
197
  end
197
198
 
198
199
  end # Runtime
199
- end # V107
200
+ end # V111
200
201
  end # DevTools
201
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 V107
23
+ module V111
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 # V107
40
+ end # V111
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 V108
23
+ module V111
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 # V108
65
+ end # V111
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 V108
23
+ module V111
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 # V108
110
+ end # V111
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 V107
23
+ module V111
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -28,6 +28,7 @@ module Selenium
28
28
  indexed_db_content_updated: 'indexedDBContentUpdated',
29
29
  indexed_db_list_updated: 'indexedDBListUpdated',
30
30
  interest_group_accessed: 'interestGroupAccessed',
31
+ shared_storage_accessed: 'sharedStorageAccessed',
31
32
  }.freeze
32
33
 
33
34
  def initialize(devtools)
@@ -88,6 +89,11 @@ module Selenium
88
89
  origin: origin)
89
90
  end
90
91
 
92
+ def track_cache_storage_for_storage_key(storage_key:)
93
+ @devtools.send_cmd('Storage.trackCacheStorageForStorageKey',
94
+ storageKey: storage_key)
95
+ end
96
+
91
97
  def track_indexed_db_for_origin(origin:)
92
98
  @devtools.send_cmd('Storage.trackIndexedDBForOrigin',
93
99
  origin: origin)
@@ -103,6 +109,11 @@ module Selenium
103
109
  origin: origin)
104
110
  end
105
111
 
112
+ def untrack_cache_storage_for_storage_key(storage_key:)
113
+ @devtools.send_cmd('Storage.untrackCacheStorageForStorageKey',
114
+ storageKey: storage_key)
115
+ end
116
+
106
117
  def untrack_indexed_db_for_origin(origin:)
107
118
  @devtools.send_cmd('Storage.untrackIndexedDBForOrigin',
108
119
  origin: origin)
@@ -133,7 +144,46 @@ module Selenium
133
144
  enable: enable)
134
145
  end
135
146
 
147
+ def get_shared_storage_metadata(owner_origin:)
148
+ @devtools.send_cmd('Storage.getSharedStorageMetadata',
149
+ ownerOrigin: owner_origin)
150
+ end
151
+
152
+ def get_shared_storage_entries(owner_origin:)
153
+ @devtools.send_cmd('Storage.getSharedStorageEntries',
154
+ ownerOrigin: owner_origin)
155
+ end
156
+
157
+ def set_shared_storage_entry(owner_origin:, key:, value:, ignore_if_present: nil)
158
+ @devtools.send_cmd('Storage.setSharedStorageEntry',
159
+ ownerOrigin: owner_origin,
160
+ key: key,
161
+ value: value,
162
+ ignoreIfPresent: ignore_if_present)
163
+ end
164
+
165
+ def delete_shared_storage_entry(owner_origin:, key:)
166
+ @devtools.send_cmd('Storage.deleteSharedStorageEntry',
167
+ ownerOrigin: owner_origin,
168
+ key: key)
169
+ end
170
+
171
+ def clear_shared_storage_entries(owner_origin:)
172
+ @devtools.send_cmd('Storage.clearSharedStorageEntries',
173
+ ownerOrigin: owner_origin)
174
+ end
175
+
176
+ def reset_shared_storage_budget(owner_origin:)
177
+ @devtools.send_cmd('Storage.resetSharedStorageBudget',
178
+ ownerOrigin: owner_origin)
179
+ end
180
+
181
+ def set_shared_storage_tracking(enable:)
182
+ @devtools.send_cmd('Storage.setSharedStorageTracking',
183
+ enable: enable)
184
+ end
185
+
136
186
  end # Storage
137
- end # V107
187
+ end # V111
138
188
  end # DevTools
139
189
  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 V108
23
+ module V111
24
24
  class SystemInfo
25
25
 
26
26
  def initialize(devtools)
@@ -36,11 +36,16 @@ module Selenium
36
36
  @devtools.send_cmd('SystemInfo.getInfo')
37
37
  end
38
38
 
39
+ def get_feature_state(feature_state:)
40
+ @devtools.send_cmd('SystemInfo.getFeatureState',
41
+ featureState: feature_state)
42
+ end
43
+
39
44
  def get_process_info
40
45
  @devtools.send_cmd('SystemInfo.getProcessInfo')
41
46
  end
42
47
 
43
48
  end # SystemInfo
44
- end # V108
49
+ end # V111
45
50
  end # DevTools
46
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 V107
23
+ module V111
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -79,7 +79,7 @@ module Selenium
79
79
  @devtools.send_cmd('Target.getBrowserContexts')
80
80
  end
81
81
 
82
- def create_target(url:, width: nil, height: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil)
82
+ def create_target(url:, width: nil, height: nil, browser_context_id: nil, enable_begin_frame_control: nil, new_window: nil, background: nil, for_tab: nil)
83
83
  @devtools.send_cmd('Target.createTarget',
84
84
  url: url,
85
85
  width: width,
@@ -87,7 +87,8 @@ module Selenium
87
87
  browserContextId: browser_context_id,
88
88
  enableBeginFrameControl: enable_begin_frame_control,
89
89
  newWindow: new_window,
90
- background: background)
90
+ background: background,
91
+ forTab: for_tab)
91
92
  end
92
93
 
93
94
  def detach_from_target(session_id: nil, target_id: nil)
@@ -145,6 +146,6 @@ module Selenium
145
146
  end
146
147
 
147
148
  end # Target
148
- end # V107
149
+ end # V111
149
150
  end # DevTools
150
151
  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 V108
23
+ module V111
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 # V108
49
+ end # V111
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 V108
23
+ module V111
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 # V108
73
+ end # V111
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 V108
23
+ module V111
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 # V108
64
+ end # V111
65
65
  end # DevTools
66
66
  end # Selenium
@@ -20,8 +20,12 @@
20
20
  # This file is automatically generated. Any changes will be lost!
21
21
  module Selenium
22
22
  module DevTools
23
- module V107
23
+ module V111
24
24
  class WebAuthn
25
+ EVENTS = {
26
+ credential_added: 'credentialAdded',
27
+ credential_asserted: 'credentialAsserted',
28
+ }.freeze
25
29
 
26
30
  def initialize(devtools)
27
31
  @devtools = devtools
@@ -46,6 +50,14 @@ module Selenium
46
50
  options: options)
47
51
  end
48
52
 
53
+ def set_response_override_bits(authenticator_id:, is_bogus_signature: nil, is_bad_uv: nil, is_bad_up: nil)
54
+ @devtools.send_cmd('WebAuthn.setResponseOverrideBits',
55
+ authenticatorId: authenticator_id,
56
+ isBogusSignature: is_bogus_signature,
57
+ isBadUV: is_bad_uv,
58
+ isBadUP: is_bad_up)
59
+ end
60
+
49
61
  def remove_virtual_authenticator(authenticator_id:)
50
62
  @devtools.send_cmd('WebAuthn.removeVirtualAuthenticator',
51
63
  authenticatorId: authenticator_id)
@@ -92,6 +104,6 @@ module Selenium
92
104
  end
93
105
 
94
106
  end # WebAuthn
95
- end # V107
107
+ end # V111
96
108
  end # DevTools
97
109
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v111/*", &method(:require))