selenium-devtools 0.106.0 → 0.108.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +0 -0
  3. data/NOTICE +0 -0
  4. data/lib/selenium/devtools/v106.rb +0 -0
  5. data/lib/selenium/devtools/{v105 → v107}/accessibility.rb +2 -2
  6. data/lib/selenium/devtools/{v105 → v107}/animation.rb +2 -2
  7. data/lib/selenium/devtools/{v104 → v107}/audits.rb +2 -2
  8. data/lib/selenium/devtools/{v105 → v107}/background_service.rb +2 -2
  9. data/lib/selenium/devtools/{v104 → v107}/browser.rb +2 -2
  10. data/lib/selenium/devtools/{v105 → v107}/cache_storage.rb +2 -2
  11. data/lib/selenium/devtools/{v105 → v107}/cast.rb +2 -2
  12. data/lib/selenium/devtools/{v105 → v107}/console.rb +2 -2
  13. data/lib/selenium/devtools/{v105 → v107}/css.rb +2 -2
  14. data/lib/selenium/devtools/{v105 → v107}/database.rb +2 -2
  15. data/lib/selenium/devtools/{v105 → v107}/debugger.rb +2 -2
  16. data/lib/selenium/devtools/{v105 → v107}/device_orientation.rb +2 -2
  17. data/lib/selenium/devtools/{v105 → v107}/dom.rb +2 -2
  18. data/lib/selenium/devtools/{v104 → v107}/dom_debugger.rb +2 -2
  19. data/lib/selenium/devtools/{v105 → v107}/dom_snapshot.rb +2 -2
  20. data/lib/selenium/devtools/{v104 → v107}/dom_storage.rb +2 -2
  21. data/lib/selenium/devtools/{v105 → v107}/emulation.rb +2 -2
  22. data/lib/selenium/devtools/{v104 → v107}/event_breakpoints.rb +2 -2
  23. data/lib/selenium/devtools/{v104 → v107}/fetch.rb +2 -2
  24. data/lib/selenium/devtools/{v105 → v107}/headless_experimental.rb +2 -2
  25. data/lib/selenium/devtools/{v105 → v107}/heap_profiler.rb +2 -2
  26. data/lib/selenium/devtools/{v105 → v107}/indexed_db.rb +17 -10
  27. data/lib/selenium/devtools/{v105 → v107}/input.rb +2 -2
  28. data/lib/selenium/devtools/{v105 → v107}/inspector.rb +2 -2
  29. data/lib/selenium/devtools/{v104 → v107}/io.rb +2 -2
  30. data/lib/selenium/devtools/{v105 → v107}/layer_tree.rb +2 -2
  31. data/lib/selenium/devtools/{v104 → v107}/log.rb +2 -2
  32. data/lib/selenium/devtools/{v105 → v107}/media.rb +2 -2
  33. data/lib/selenium/devtools/{v105 → v107}/memory.rb +2 -2
  34. data/lib/selenium/devtools/{v105 → v107}/network.rb +2 -2
  35. data/lib/selenium/devtools/{v104 → v107}/overlay.rb +2 -2
  36. data/lib/selenium/devtools/{v104 → v107}/page.rb +2 -2
  37. data/lib/selenium/devtools/{v104 → v107}/performance.rb +2 -2
  38. data/lib/selenium/devtools/{v104 → v107}/performance_timeline.rb +2 -2
  39. data/lib/selenium/devtools/{v105 → v107}/profiler.rb +2 -2
  40. data/lib/selenium/devtools/{v105 → v107}/runtime.rb +2 -2
  41. data/lib/selenium/devtools/{v104 → v107}/schema.rb +2 -2
  42. data/lib/selenium/devtools/{v105 → v107}/security.rb +2 -2
  43. data/lib/selenium/devtools/{v105 → v107}/service_worker.rb +2 -2
  44. data/lib/selenium/devtools/{v105 → v107}/storage.rb +12 -2
  45. data/lib/selenium/devtools/{v105 → v107}/system_info.rb +2 -2
  46. data/lib/selenium/devtools/{v105 → v107}/target.rb +14 -10
  47. data/lib/selenium/devtools/{v105 → v107}/tethering.rb +2 -2
  48. data/lib/selenium/devtools/{v104 → v107}/tracing.rb +2 -2
  49. data/lib/selenium/devtools/{v104 → v107}/web_audio.rb +2 -2
  50. data/lib/selenium/devtools/{v104 → v107}/web_authn.rb +2 -2
  51. data/lib/selenium/devtools/v107.rb +1 -0
  52. data/lib/selenium/devtools/{v104 → v108}/accessibility.rb +2 -2
  53. data/lib/selenium/devtools/{v104 → v108}/animation.rb +2 -2
  54. data/lib/selenium/devtools/{v105 → v108}/audits.rb +2 -2
  55. data/lib/selenium/devtools/{v104 → v108}/background_service.rb +2 -2
  56. data/lib/selenium/devtools/{v105 → v108}/browser.rb +2 -2
  57. data/lib/selenium/devtools/{v104 → v108}/cache_storage.rb +2 -2
  58. data/lib/selenium/devtools/{v104 → v108}/cast.rb +2 -2
  59. data/lib/selenium/devtools/{v104 → v108}/console.rb +2 -2
  60. data/lib/selenium/devtools/{v104 → v108}/css.rb +9 -2
  61. data/lib/selenium/devtools/{v104 → v108}/database.rb +2 -2
  62. data/lib/selenium/devtools/{v104 → v108}/debugger.rb +15 -4
  63. data/lib/selenium/devtools/{v104 → v108}/device_orientation.rb +2 -2
  64. data/lib/selenium/devtools/{v104 → v108}/dom.rb +7 -2
  65. data/lib/selenium/devtools/{v105 → v108}/dom_debugger.rb +2 -2
  66. data/lib/selenium/devtools/{v104 → v108}/dom_snapshot.rb +2 -2
  67. data/lib/selenium/devtools/{v105 → v108}/dom_storage.rb +2 -2
  68. data/lib/selenium/devtools/{v104 → v108}/emulation.rb +2 -2
  69. data/lib/selenium/devtools/{v105 → v108}/event_breakpoints.rb +2 -2
  70. data/lib/selenium/devtools/{v105 → v108}/fetch.rb +2 -2
  71. data/lib/selenium/devtools/{v104 → v108}/headless_experimental.rb +2 -2
  72. data/lib/selenium/devtools/{v104 → v108}/heap_profiler.rb +6 -4
  73. data/lib/selenium/devtools/{v104 → v108}/indexed_db.rb +17 -10
  74. data/lib/selenium/devtools/{v104 → v108}/input.rb +2 -2
  75. data/lib/selenium/devtools/{v104 → v108}/inspector.rb +2 -2
  76. data/lib/selenium/devtools/{v105 → v108}/io.rb +2 -2
  77. data/lib/selenium/devtools/{v104 → v108}/layer_tree.rb +2 -2
  78. data/lib/selenium/devtools/{v105 → v108}/log.rb +2 -2
  79. data/lib/selenium/devtools/{v104 → v108}/media.rb +2 -2
  80. data/lib/selenium/devtools/{v104 → v108}/memory.rb +2 -2
  81. data/lib/selenium/devtools/{v104 → v108}/network.rb +2 -2
  82. data/lib/selenium/devtools/{v105 → v108}/overlay.rb +2 -2
  83. data/lib/selenium/devtools/{v105 → v108}/page.rb +2 -2
  84. data/lib/selenium/devtools/{v105 → v108}/performance.rb +2 -2
  85. data/lib/selenium/devtools/{v105 → v108}/performance_timeline.rb +2 -2
  86. data/lib/selenium/devtools/{v104 → v108}/profiler.rb +2 -14
  87. data/lib/selenium/devtools/{v104 → v108}/runtime.rb +2 -2
  88. data/lib/selenium/devtools/{v105 → v108}/schema.rb +2 -2
  89. data/lib/selenium/devtools/{v104 → v108}/security.rb +2 -2
  90. data/lib/selenium/devtools/{v104 → v108}/service_worker.rb +2 -2
  91. data/lib/selenium/devtools/{v104 → v108}/storage.rb +18 -2
  92. data/lib/selenium/devtools/{v104 → v108}/system_info.rb +2 -2
  93. data/lib/selenium/devtools/{v104 → v108}/target.rb +14 -10
  94. data/lib/selenium/devtools/{v104 → v108}/tethering.rb +2 -2
  95. data/lib/selenium/devtools/{v105 → v108}/tracing.rb +2 -2
  96. data/lib/selenium/devtools/{v105 → v108}/web_audio.rb +2 -2
  97. data/lib/selenium/devtools/{v105 → v108}/web_authn.rb +2 -2
  98. data/lib/selenium/devtools/v108.rb +1 -0
  99. data/lib/selenium/devtools/v85.rb +0 -0
  100. data/lib/selenium/devtools/version.rb +1 -1
  101. data/selenium-devtools.gemspec +1 -0
  102. metadata +101 -101
  103. data/lib/selenium/devtools/README.md +0 -14
  104. data/lib/selenium/devtools/v104.rb +0 -1
  105. data/lib/selenium/devtools/v105.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 V105
23
+ module V108
24
24
  class Fetch
25
25
  EVENTS = {
26
26
  request_paused: 'requestPaused',
@@ -98,6 +98,6 @@ module Selenium
98
98
  end
99
99
 
100
100
  end # Fetch
101
- end # V105
101
+ end # V108
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 V104
23
+ module V108
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 # V104
55
+ end # V108
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 V104
23
+ module V108
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 # V104
107
+ end # V108
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 V104
23
+ module V108
24
24
  class IndexedDB
25
25
 
26
26
  def initialize(devtools)
@@ -32,22 +32,25 @@ module Selenium
32
32
  @devtools.callbacks["IndexedDB.#{event}"] << block
33
33
  end
34
34
 
35
- def clear_object_store(security_origin:, database_name:, object_store_name:)
35
+ def clear_object_store(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
36
36
  @devtools.send_cmd('IndexedDB.clearObjectStore',
37
37
  securityOrigin: security_origin,
38
+ storageKey: storage_key,
38
39
  databaseName: database_name,
39
40
  objectStoreName: object_store_name)
40
41
  end
41
42
 
42
- def delete_database(security_origin:, database_name:)
43
+ def delete_database(security_origin: nil, storage_key: nil, database_name:)
43
44
  @devtools.send_cmd('IndexedDB.deleteDatabase',
44
45
  securityOrigin: security_origin,
46
+ storageKey: storage_key,
45
47
  databaseName: database_name)
46
48
  end
47
49
 
48
- def delete_object_store_entries(security_origin:, database_name:, object_store_name:, key_range:)
50
+ def delete_object_store_entries(security_origin: nil, storage_key: nil, database_name:, object_store_name:, key_range:)
49
51
  @devtools.send_cmd('IndexedDB.deleteObjectStoreEntries',
50
52
  securityOrigin: security_origin,
53
+ storageKey: storage_key,
51
54
  databaseName: database_name,
52
55
  objectStoreName: object_store_name,
53
56
  keyRange: key_range)
@@ -61,9 +64,10 @@ module Selenium
61
64
  @devtools.send_cmd('IndexedDB.enable')
62
65
  end
63
66
 
64
- def request_data(security_origin:, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
67
+ def request_data(security_origin: nil, storage_key: nil, database_name:, object_store_name:, index_name:, skip_count:, page_size:, key_range: nil)
65
68
  @devtools.send_cmd('IndexedDB.requestData',
66
69
  securityOrigin: security_origin,
70
+ storageKey: storage_key,
67
71
  databaseName: database_name,
68
72
  objectStoreName: object_store_name,
69
73
  indexName: index_name,
@@ -72,25 +76,28 @@ module Selenium
72
76
  keyRange: key_range)
73
77
  end
74
78
 
75
- def get_metadata(security_origin:, database_name:, object_store_name:)
79
+ def get_metadata(security_origin: nil, storage_key: nil, database_name:, object_store_name:)
76
80
  @devtools.send_cmd('IndexedDB.getMetadata',
77
81
  securityOrigin: security_origin,
82
+ storageKey: storage_key,
78
83
  databaseName: database_name,
79
84
  objectStoreName: object_store_name)
80
85
  end
81
86
 
82
- def request_database(security_origin:, database_name:)
87
+ def request_database(security_origin: nil, storage_key: nil, database_name:)
83
88
  @devtools.send_cmd('IndexedDB.requestDatabase',
84
89
  securityOrigin: security_origin,
90
+ storageKey: storage_key,
85
91
  databaseName: database_name)
86
92
  end
87
93
 
88
- def request_database_names(security_origin:)
94
+ def request_database_names(security_origin: nil, storage_key: nil)
89
95
  @devtools.send_cmd('IndexedDB.requestDatabaseNames',
90
- securityOrigin: security_origin)
96
+ securityOrigin: security_origin,
97
+ storageKey: storage_key)
91
98
  end
92
99
 
93
100
  end # IndexedDB
94
- end # V104
101
+ end # V108
95
102
  end # DevTools
96
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 V104
23
+ module V108
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 # V104
166
+ end # V108
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 V104
23
+ module V108
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 # V104
49
+ end # V108
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 V105
23
+ module V108
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 # V105
53
+ end # V108
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 V104
23
+ module V108
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 # V104
89
+ end # V108
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 V105
23
+ module V108
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 # V105
60
+ end # V108
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 V104
23
+ module V108
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 # V104
51
+ end # V108
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 V104
23
+ module V108
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 # V104
80
+ end # V108
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 V104
23
+ module V108
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 # V104
262
+ end # V108
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 V105
23
+ module V108
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 # V105
200
+ end # V108
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 V105
23
+ module V108
24
24
  class Page
25
25
  EVENTS = {
26
26
  dom_content_event_fired: 'domContentEventFired',
@@ -389,6 +389,6 @@ module Selenium
389
389
  end
390
390
 
391
391
  end # Page
392
- end # V105
392
+ end # V108
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 V105
23
+ module V108
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 # V105
57
+ end # V108
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 V105
23
+ module V108
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 # V105
44
+ end # V108
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 V104
23
+ module V108
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 # V104
81
+ end # V108
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 V104
23
+ module V108
24
24
  class Runtime
25
25
  EVENTS = {
26
26
  binding_called: 'bindingCalled',
@@ -196,6 +196,6 @@ module Selenium
196
196
  end
197
197
 
198
198
  end # Runtime
199
- end # V104
199
+ end # V108
200
200
  end # DevTools
201
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 V105
23
+ module V108
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 # V105
40
+ end # V108
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 V104
23
+ module V108
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 # V104
65
+ end # V108
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 V104
23
+ module V108
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 # V104
110
+ end # V108
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 V104
23
+ module V108
24
24
  class Storage
25
25
  EVENTS = {
26
26
  cache_storage_content_updated: 'cacheStorageContentUpdated',
@@ -50,6 +50,12 @@ module Selenium
50
50
  storageTypes: storage_types)
51
51
  end
52
52
 
53
+ def clear_data_for_storage_key(storage_key:, storage_types:)
54
+ @devtools.send_cmd('Storage.clearDataForStorageKey',
55
+ storageKey: storage_key,
56
+ storageTypes: storage_types)
57
+ end
58
+
53
59
  def get_cookies(browser_context_id: nil)
54
60
  @devtools.send_cmd('Storage.getCookies',
55
61
  browserContextId: browser_context_id)
@@ -87,6 +93,11 @@ module Selenium
87
93
  origin: origin)
88
94
  end
89
95
 
96
+ def track_indexed_db_for_storage_key(storage_key:)
97
+ @devtools.send_cmd('Storage.trackIndexedDBForStorageKey',
98
+ storageKey: storage_key)
99
+ end
100
+
90
101
  def untrack_cache_storage_for_origin(origin:)
91
102
  @devtools.send_cmd('Storage.untrackCacheStorageForOrigin',
92
103
  origin: origin)
@@ -97,6 +108,11 @@ module Selenium
97
108
  origin: origin)
98
109
  end
99
110
 
111
+ def untrack_indexed_db_for_storage_key(storage_key:)
112
+ @devtools.send_cmd('Storage.untrackIndexedDBForStorageKey',
113
+ storageKey: storage_key)
114
+ end
115
+
100
116
  def get_trust_tokens
101
117
  @devtools.send_cmd('Storage.getTrustTokens')
102
118
  end
@@ -118,6 +134,6 @@ module Selenium
118
134
  end
119
135
 
120
136
  end # Storage
121
- end # V104
137
+ end # V108
122
138
  end # DevTools
123
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 V104
23
+ module V108
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 # V104
44
+ end # V108
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 V104
23
+ module V108
24
24
  class Target
25
25
  EVENTS = {
26
26
  attached_to_target: 'attachedToTarget',
@@ -106,8 +106,9 @@ module Selenium
106
106
  targetId: target_id)
107
107
  end
108
108
 
109
- def get_targets
110
- @devtools.send_cmd('Target.getTargets')
109
+ def get_targets(filter: nil)
110
+ @devtools.send_cmd('Target.getTargets',
111
+ filter: filter)
111
112
  end
112
113
 
113
114
  def send_message_to_target(message:, session_id: nil, target_id: nil)
@@ -117,22 +118,25 @@ module Selenium
117
118
  targetId: target_id)
118
119
  end
119
120
 
120
- def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil)
121
+ def set_auto_attach(auto_attach:, wait_for_debugger_on_start:, flatten: nil, filter: nil)
121
122
  @devtools.send_cmd('Target.setAutoAttach',
122
123
  autoAttach: auto_attach,
123
124
  waitForDebuggerOnStart: wait_for_debugger_on_start,
124
- flatten: flatten)
125
+ flatten: flatten,
126
+ filter: filter)
125
127
  end
126
128
 
127
- def auto_attach_related(target_id:, wait_for_debugger_on_start:)
129
+ def auto_attach_related(target_id:, wait_for_debugger_on_start:, filter: nil)
128
130
  @devtools.send_cmd('Target.autoAttachRelated',
129
131
  targetId: target_id,
130
- waitForDebuggerOnStart: wait_for_debugger_on_start)
132
+ waitForDebuggerOnStart: wait_for_debugger_on_start,
133
+ filter: filter)
131
134
  end
132
135
 
133
- def set_discover_targets(discover:)
136
+ def set_discover_targets(discover:, filter: nil)
134
137
  @devtools.send_cmd('Target.setDiscoverTargets',
135
- discover: discover)
138
+ discover: discover,
139
+ filter: filter)
136
140
  end
137
141
 
138
142
  def set_remote_locations(locations:)
@@ -141,6 +145,6 @@ module Selenium
141
145
  end
142
146
 
143
147
  end # Target
144
- end # V104
148
+ end # V108
145
149
  end # DevTools
146
150
  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 V104
23
+ module V108
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 # V104
49
+ end # V108
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 V105
23
+ module V108
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 # V105
73
+ end # V108
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 V105
23
+ module V108
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 # V105
64
+ end # V108
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 V105
23
+ module V108
24
24
  class WebAuthn
25
25
 
26
26
  def initialize(devtools)
@@ -92,6 +92,6 @@ module Selenium
92
92
  end
93
93
 
94
94
  end # WebAuthn
95
- end # V105
95
+ end # V108
96
96
  end # DevTools
97
97
  end # Selenium
@@ -0,0 +1 @@
1
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/v108/*", &method(:require))