selenium-devtools 0.102.0 → 0.104.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/selenium/devtools/{v101 → v103}/accessibility.rb +2 -2
  3. data/lib/selenium/devtools/{v101 → v103}/animation.rb +2 -2
  4. data/lib/selenium/devtools/{v101 → v103}/audits.rb +2 -2
  5. data/lib/selenium/devtools/{v100 → v103}/background_service.rb +2 -2
  6. data/lib/selenium/devtools/{v100 → v103}/browser.rb +2 -2
  7. data/lib/selenium/devtools/{v101 → v103}/cache_storage.rb +2 -2
  8. data/lib/selenium/devtools/{v100 → v103}/cast.rb +2 -2
  9. data/lib/selenium/devtools/{v101 → v103}/console.rb +2 -2
  10. data/lib/selenium/devtools/{v101 → v103}/css.rb +2 -2
  11. data/lib/selenium/devtools/{v101 → v103}/database.rb +2 -2
  12. data/lib/selenium/devtools/{v101 → v103}/debugger.rb +2 -2
  13. data/lib/selenium/devtools/{v100 → v103}/device_orientation.rb +2 -2
  14. data/lib/selenium/devtools/{v101 → v103}/dom.rb +2 -2
  15. data/lib/selenium/devtools/{v101 → v103}/dom_debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v101 → v103}/dom_snapshot.rb +2 -2
  17. data/lib/selenium/devtools/{v101 → v103}/dom_storage.rb +7 -2
  18. data/lib/selenium/devtools/{v101 → v103}/emulation.rb +2 -2
  19. data/lib/selenium/devtools/{v101 → v103}/event_breakpoints.rb +2 -2
  20. data/lib/selenium/devtools/{v100 → v103}/fetch.rb +2 -2
  21. data/lib/selenium/devtools/{v100 → v103}/headless_experimental.rb +2 -2
  22. data/lib/selenium/devtools/{v101 → v103}/heap_profiler.rb +8 -6
  23. data/lib/selenium/devtools/{v101 → v103}/indexed_db.rb +2 -2
  24. data/lib/selenium/devtools/{v100 → v103}/input.rb +2 -2
  25. data/lib/selenium/devtools/{v101 → v103}/inspector.rb +2 -2
  26. data/lib/selenium/devtools/{v100 → v103}/io.rb +2 -2
  27. data/lib/selenium/devtools/{v101 → v103}/layer_tree.rb +2 -2
  28. data/lib/selenium/devtools/{v101 → v103}/log.rb +2 -2
  29. data/lib/selenium/devtools/{v101 → v103}/media.rb +2 -2
  30. data/lib/selenium/devtools/{v101 → v103}/memory.rb +2 -2
  31. data/lib/selenium/devtools/{v101 → v103}/network.rb +2 -2
  32. data/lib/selenium/devtools/{v100 → v103}/overlay.rb +2 -2
  33. data/lib/selenium/devtools/{v100 → v103}/page.rb +4 -4
  34. data/lib/selenium/devtools/{v100 → v103}/performance.rb +2 -2
  35. data/lib/selenium/devtools/{v101 → v103}/performance_timeline.rb +2 -2
  36. data/lib/selenium/devtools/{v101 → v103}/profiler.rb +2 -2
  37. data/lib/selenium/devtools/{v101 → v103}/runtime.rb +8 -6
  38. data/lib/selenium/devtools/{v101 → v103}/schema.rb +2 -2
  39. data/lib/selenium/devtools/{v100 → v103}/security.rb +2 -2
  40. data/lib/selenium/devtools/{v101 → v103}/service_worker.rb +2 -2
  41. data/lib/selenium/devtools/{v100 → v103}/storage.rb +2 -2
  42. data/lib/selenium/devtools/{v101 → v103}/system_info.rb +2 -2
  43. data/lib/selenium/devtools/{v101 → v103}/target.rb +2 -2
  44. data/lib/selenium/devtools/{v100 → v103}/tethering.rb +2 -2
  45. data/lib/selenium/devtools/{v100 → v103}/tracing.rb +2 -2
  46. data/lib/selenium/devtools/{v100 → v103}/web_audio.rb +2 -2
  47. data/lib/selenium/devtools/{v100 → v103}/web_authn.rb +5 -4
  48. data/lib/selenium/devtools/v103.rb +1 -0
  49. data/lib/selenium/devtools/{v100 → v104}/accessibility.rb +3 -4
  50. data/lib/selenium/devtools/{v100 → v104}/animation.rb +2 -2
  51. data/lib/selenium/devtools/{v100 → v104}/audits.rb +2 -2
  52. data/lib/selenium/devtools/{v101 → v104}/background_service.rb +2 -2
  53. data/lib/selenium/devtools/{v101 → v104}/browser.rb +2 -2
  54. data/lib/selenium/devtools/{v100 → v104}/cache_storage.rb +2 -2
  55. data/lib/selenium/devtools/{v101 → v104}/cast.rb +2 -2
  56. data/lib/selenium/devtools/{v100 → v104}/console.rb +2 -2
  57. data/lib/selenium/devtools/{v100 → v104}/css.rb +7 -2
  58. data/lib/selenium/devtools/{v100 → v104}/database.rb +2 -2
  59. data/lib/selenium/devtools/{v100 → v104}/debugger.rb +5 -4
  60. data/lib/selenium/devtools/{v101 → v104}/device_orientation.rb +2 -2
  61. data/lib/selenium/devtools/{v100 → v104}/dom.rb +2 -2
  62. data/lib/selenium/devtools/{v100 → v104}/dom_debugger.rb +2 -2
  63. data/lib/selenium/devtools/{v100 → v104}/dom_snapshot.rb +2 -2
  64. data/lib/selenium/devtools/{v100 → v104}/dom_storage.rb +2 -2
  65. data/lib/selenium/devtools/{v100 → v104}/emulation.rb +12 -2
  66. data/lib/selenium/devtools/{v100 → v104}/event_breakpoints.rb +2 -2
  67. data/lib/selenium/devtools/{v101 → v104}/fetch.rb +2 -2
  68. data/lib/selenium/devtools/{v101 → v104}/headless_experimental.rb +2 -2
  69. data/lib/selenium/devtools/{v100 → v104}/heap_profiler.rb +8 -6
  70. data/lib/selenium/devtools/{v100 → v104}/indexed_db.rb +2 -2
  71. data/lib/selenium/devtools/{v101 → v104}/input.rb +2 -2
  72. data/lib/selenium/devtools/{v100 → v104}/inspector.rb +2 -2
  73. data/lib/selenium/devtools/{v101 → v104}/io.rb +2 -2
  74. data/lib/selenium/devtools/{v100 → v104}/layer_tree.rb +2 -2
  75. data/lib/selenium/devtools/{v100 → v104}/log.rb +2 -2
  76. data/lib/selenium/devtools/{v100 → v104}/media.rb +2 -2
  77. data/lib/selenium/devtools/{v100 → v104}/memory.rb +2 -2
  78. data/lib/selenium/devtools/{v100 → v104}/network.rb +2 -2
  79. data/lib/selenium/devtools/{v101 → v104}/overlay.rb +2 -2
  80. data/lib/selenium/devtools/{v101 → v104}/page.rb +4 -4
  81. data/lib/selenium/devtools/{v101 → v104}/performance.rb +2 -2
  82. data/lib/selenium/devtools/{v100 → v104}/performance_timeline.rb +2 -2
  83. data/lib/selenium/devtools/{v100 → v104}/profiler.rb +2 -2
  84. data/lib/selenium/devtools/{v100 → v104}/runtime.rb +8 -6
  85. data/lib/selenium/devtools/{v100 → v104}/schema.rb +2 -2
  86. data/lib/selenium/devtools/{v101 → v104}/security.rb +2 -2
  87. data/lib/selenium/devtools/{v100 → v104}/service_worker.rb +2 -2
  88. data/lib/selenium/devtools/{v101 → v104}/storage.rb +7 -2
  89. data/lib/selenium/devtools/{v100 → v104}/system_info.rb +2 -2
  90. data/lib/selenium/devtools/{v100 → v104}/target.rb +2 -2
  91. data/lib/selenium/devtools/{v101 → v104}/tethering.rb +2 -2
  92. data/lib/selenium/devtools/{v101 → v104}/tracing.rb +2 -2
  93. data/lib/selenium/devtools/{v101 → v104}/web_audio.rb +2 -2
  94. data/lib/selenium/devtools/{v101 → v104}/web_authn.rb +5 -4
  95. data/lib/selenium/devtools/v104.rb +1 -0
  96. data/lib/selenium/devtools/version.rb +1 -1
  97. data/lib/selenium/devtools.rb +0 -2
  98. data/selenium-devtools.gemspec +1 -1
  99. metadata +100 -100
  100. data/lib/selenium/devtools/v100.rb +0 -1
  101. data/lib/selenium/devtools/v101.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 V100
23
+ module V104
24
24
  class HeapProfiler
25
25
  EVENTS = {
26
26
  add_heap_snapshot_chunk: 'addHeapSnapshotChunk',
@@ -85,21 +85,23 @@ module Selenium
85
85
  @devtools.send_cmd('HeapProfiler.stopSampling')
86
86
  end
87
87
 
88
- def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
88
+ def stop_tracking_heap_objects(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil, expose_internals: nil)
89
89
  @devtools.send_cmd('HeapProfiler.stopTrackingHeapObjects',
90
90
  reportProgress: report_progress,
91
91
  treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
92
- captureNumericValue: capture_numeric_value)
92
+ captureNumericValue: capture_numeric_value,
93
+ exposeInternals: expose_internals)
93
94
  end
94
95
 
95
- def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil)
96
+ def take_heap_snapshot(report_progress: nil, treat_global_objects_as_roots: nil, capture_numeric_value: nil, expose_internals: nil)
96
97
  @devtools.send_cmd('HeapProfiler.takeHeapSnapshot',
97
98
  reportProgress: report_progress,
98
99
  treatGlobalObjectsAsRoots: treat_global_objects_as_roots,
99
- captureNumericValue: capture_numeric_value)
100
+ captureNumericValue: capture_numeric_value,
101
+ exposeInternals: expose_internals)
100
102
  end
101
103
 
102
104
  end # HeapProfiler
103
- end # V100
105
+ end # V104
104
106
  end # DevTools
105
107
  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 V100
23
+ module V104
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 # V100
94
+ end # V104
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 V101
23
+ module V104
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 # V101
166
+ end # V104
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 V100
23
+ module V104
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 # V100
49
+ end # V104
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 V101
23
+ module V104
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 # V101
53
+ end # V104
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 V100
23
+ module V104
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 # V100
89
+ end # V104
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 V100
23
+ module V104
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 # V100
60
+ end # V104
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 V100
23
+ module V104
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 # V100
51
+ end # V104
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 V100
23
+ module V104
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 # V100
80
+ end # V104
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 V100
23
+ module V104
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 # V100
262
+ end # V104
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 V101
23
+ module V104
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 # V101
200
+ end # V104
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 V101
23
+ module V104
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -43,6 +43,7 @@ module Selenium
43
43
  javascript_dialog_opening: 'javascriptDialogOpening',
44
44
  lifecycle_event: 'lifecycleEvent',
45
45
  back_forward_cache_not_used: 'backForwardCacheNotUsed',
46
+ prerender_attempt_completed: 'prerenderAttemptCompleted',
46
47
  load_event_fired: 'loadEventFired',
47
48
  navigated_within_document: 'navigatedWithinDocument',
48
49
  screencast_frame: 'screencastFrame',
@@ -189,7 +190,7 @@ module Selenium
189
190
  entryId: entry_id)
190
191
  end
191
192
 
192
- def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, ignore_invalid_page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil)
193
+ def print_to_pdf(landscape: nil, display_header_footer: nil, print_background: nil, scale: nil, paper_width: nil, paper_height: nil, margin_top: nil, margin_bottom: nil, margin_left: nil, margin_right: nil, page_ranges: nil, header_template: nil, footer_template: nil, prefer_css_page_size: nil, transfer_mode: nil)
193
194
  @devtools.send_cmd('Page.printToPDF',
194
195
  landscape: landscape,
195
196
  displayHeaderFooter: display_header_footer,
@@ -202,7 +203,6 @@ module Selenium
202
203
  marginLeft: margin_left,
203
204
  marginRight: margin_right,
204
205
  pageRanges: page_ranges,
205
- ignoreInvalidPageRanges: ignore_invalid_page_ranges,
206
206
  headerTemplate: header_template,
207
207
  footerTemplate: footer_template,
208
208
  preferCSSPageSize: prefer_css_page_size,
@@ -389,6 +389,6 @@ module Selenium
389
389
  end
390
390
 
391
391
  end # Page
392
- end # V101
392
+ end # V104
393
393
  end # DevTools
394
394
  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 V101
23
+ module V104
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 # V101
57
+ end # V104
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 V100
23
+ module V104
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 # V100
44
+ end # V104
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 V100
23
+ module V104
24
24
  class Profiler
25
25
  EVENTS = {
26
26
  console_profile_finished: 'consoleProfileFinished',
@@ -90,6 +90,6 @@ module Selenium
90
90
  end
91
91
 
92
92
  end # Profiler
93
- end # V100
93
+ end # V104
94
94
  end # DevTools
95
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 V100
23
+ module V104
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)
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)
53
53
  @devtools.send_cmd('Runtime.callFunctionOn',
54
54
  functionDeclaration: function_declaration,
55
55
  objectId: object_id,
@@ -61,7 +61,8 @@ module Selenium
61
61
  awaitPromise: await_promise,
62
62
  executionContextId: execution_context_id,
63
63
  objectGroup: object_group,
64
- throwOnSideEffect: throw_on_side_effect)
64
+ throwOnSideEffect: throw_on_side_effect,
65
+ generateWebDriverValue: generate_web_driver_value)
65
66
  end
66
67
 
67
68
  def compile_script(expression:, source_url:, persist_script:, execution_context_id: nil)
@@ -84,7 +85,7 @@ module Selenium
84
85
  @devtools.send_cmd('Runtime.enable')
85
86
  end
86
87
 
87
- def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil)
88
+ def evaluate(expression:, object_group: nil, include_command_line_api: nil, silent: nil, context_id: nil, return_by_value: nil, generate_preview: nil, user_gesture: nil, await_promise: nil, throw_on_side_effect: nil, timeout: nil, disable_breaks: nil, repl_mode: nil, allow_unsafe_eval_blocked_by_csp: nil, unique_context_id: nil, generate_web_driver_value: nil)
88
89
  @devtools.send_cmd('Runtime.evaluate',
89
90
  expression: expression,
90
91
  objectGroup: object_group,
@@ -100,7 +101,8 @@ module Selenium
100
101
  disableBreaks: disable_breaks,
101
102
  replMode: repl_mode,
102
103
  allowUnsafeEvalBlockedByCSP: allow_unsafe_eval_blocked_by_csp,
103
- uniqueContextId: unique_context_id)
104
+ uniqueContextId: unique_context_id,
105
+ generateWebDriverValue: generate_web_driver_value)
104
106
  end
105
107
 
106
108
  def get_isolate_id
@@ -194,6 +196,6 @@ module Selenium
194
196
  end
195
197
 
196
198
  end # Runtime
197
- end # V100
199
+ end # V104
198
200
  end # DevTools
199
201
  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 V100
23
+ module V104
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 # V100
40
+ end # V104
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 V101
23
+ module V104
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 # V101
65
+ end # V104
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 V100
23
+ module V104
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 # V100
110
+ end # V104
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 V101
23
+ module V104
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -39,6 +39,11 @@ module Selenium
39
39
  @devtools.callbacks["Storage.#{event}"] << block
40
40
  end
41
41
 
42
+ def get_storage_key_for_frame(frame_id:)
43
+ @devtools.send_cmd('Storage.getStorageKeyForFrame',
44
+ frameId: frame_id)
45
+ end
46
+
42
47
  def clear_data_for_origin(origin:, storage_types:)
43
48
  @devtools.send_cmd('Storage.clearDataForOrigin',
44
49
  origin: origin,
@@ -113,6 +118,6 @@ module Selenium
113
118
  end
114
119
 
115
120
  end # Storage
116
- end # V101
121
+ end # V104
117
122
  end # DevTools
118
123
  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 V100
23
+ module V104
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 # V100
44
+ end # V104
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 V100
23
+ module V104
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -141,6 +141,6 @@ module Selenium
141
141
  end
142
142
 
143
143
  end # Target
144
- end # V100
144
+ end # V104
145
145
  end # DevTools
146
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 V101
23
+ module V104
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 # V101
49
+ end # V104
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 V101
23
+ module V104
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 # V101
73
+ end # V104
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 V101
23
+ module V104
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 # V101
64
+ end # V104
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 V101
23
+ module V104
24
24
  class WebAuthn
25
25
 
26
26
  def initialize(devtools)
@@ -32,8 +32,9 @@ module Selenium
32
32
  @devtools.callbacks["WebAuthn.#{event}"] << block
33
33
  end
34
34
 
35
- def enable
36
- @devtools.send_cmd('WebAuthn.enable')
35
+ def enable(enable_ui: nil)
36
+ @devtools.send_cmd('WebAuthn.enable',
37
+ enableUI: enable_ui)
37
38
  end
38
39
 
39
40
  def disable
@@ -91,6 +92,6 @@ module Selenium
91
92
  end
92
93
 
93
94
  end # WebAuthn
94
- end # V101
95
+ end # V104
95
96
  end # DevTools
96
97
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v104/*", &method(:require))
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module DevTools
22
- VERSION = '0.102.0'
22
+ VERSION = '0.104.0'
23
23
  end # DevTools
24
24
  end # Selenium
@@ -17,8 +17,6 @@
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
19
 
20
- require 'websocket'
21
-
22
20
  module Selenium
23
21
  module DevTools
24
22
  class << self
@@ -40,5 +40,5 @@ Gem::Specification.new do |s|
40
40
 
41
41
  s.require_paths = ["lib"]
42
42
 
43
- s.add_runtime_dependency 'websocket', ['~> 1.0']
43
+ s.add_runtime_dependency 'selenium-webdriver', '~> 4.2'
44
44
  end